Function

testLineLine

(l1: Line, l2: Line): Vec2 | null

Check if 2 lines intersects, if yes returns the intersection point.

param l1- The first line.

param l2- The second line.

returns The intersection point, or null if the lines are parallel.

since v2000.0

group Math

kaplay logo

Layer

Miscalenous