Collision.LineLineIntersection Method (float2, float2, float2, float2, float2)
Calculate the intersection of two lines. p1
/p2
are a point on the lines. v1
/v2
are the slopes of the lines (they need not be normalized).
Location
- Namespace
- Fuse
- Package
- Fuse.Common 2.9.1
Parameters
Returns
true if r
contains the intersection point, false if the lines are parallel or coincident.