Bézier curves/Intersections: Difference between revisions
Content added Content deleted
(→{{header|C}}: Now there are two implementations.) |
|||
Line 541: | Line 541: | ||
Unfortunately two of us were writing C implementations at the same time. Had I known this, I would have written the following in a different language. |
Unfortunately two of us were writing C implementations at the same time. Had I known this, I would have written the following in a different language. |
||
This implementation uses a recursive function rather than a "workload container". (Another approach to adaptive bisection requires no extra storage at all. That is to work with integer values in a clever way.) |
|||
<syntaxhighlight lang="C"> |
<syntaxhighlight lang="C"> |