lineQuadratic
Finds the intersection points between a 2D line segment and a quadratic Bezier curve.
Return
an array of Vec2 objects representing the intersection points. Each Vec2 contains the parameter along the line in the x-coordinate and the parameter along the Bezier curve in the y-coordinate.
Parameters
p
the line segment represented by a Line2 object.
q
the quadratic Bezier curve represented by a Bezier2.QuadraticBezier2 object.