MathAlgorithmsIntersectRectangleLine Method (Rectangle, Vector2, Vector2, Vector2, Vector2) |
Namespace: NeoAxis
public static int IntersectRectangleLine( Rectangle rectangle, Vector2 pt1, Vector2 pt2, out Vector2 intersectPoint1, out Vector2 intersectPoint2 )