Function VectorMath.LineLineIntersectionFactor

LineLineIntersectionFactor (float2 start1, float2 dir1, float2 start2, float2 dir2, out float t)

Calculates the point start1 + dir1*t where the two infinite lines intersect.

Public Static
bool LineLineIntersectionFactor (

float2

start1

float2

dir1

float2

start2

float2

dir2

out float

t

)

Calculates the point start1 + dir1*t where the two infinite lines intersect.

Returns false if the lines are close to parallel.