Bézier curves/Intersections: Difference between revisions
→{{header|Ada}}
(Added Ada.) |
|||
Line 18:
On the other hand, the code below introduces a new way of doing Bézier clipping, by transformation of coordinates. And it also hints at a geometric interpretation of s-power curves, in which all the constituent "points" undergo rotations and scalings, but only the endpoints are subject to translations.
Ada is an Algol-like language that is case-insensitive. I have used an all-lowercase style with manual indentation.
<syntaxhighlight lang="ada">
|