Function

testRectLine

(r: Rect, l: Line): boolean

Check if a line and a rectangle overlaps.

param r- The line.

param l- The rectangle.

returns true if the line and rectangle overlaps.

since v2000.0

group Math

kaplay logo

Layer

Miscalenous