Checks for intersection between the line segment and circle.
Based on code by Matt DesLauriers.
The line segment to check.
The circle to check against the line.
Optional
An optional Vector2 object. If given the closest point on the Line where the circle intersects will be stored in this object.
Checks for intersection between the line segment and circle.
Based on code by Matt DesLauriers.