Bézier curves/Intersections: Difference between revisions

Content added Content deleted
(→‎{{header|D}}: Comment out inadvisable code.)
Line 475: Line 475:
workload.insertFront(workset (p, q));
workload.insertFront(workset (p, q));


// Quit looking /* after having found four intersections */ or
// Quit looking after having /*found four intersections*/ or emptied
// emptied the workload.
// the workload.
while (/*num_intersections != 4 &&*/ !workload.empty)
while (/*num_intersections != 4 &&*/ !workload.empty)
{
{