KPhysics
KPhysics
/
de.chaffic.math
/
Math
Math
object
Math
Content copied to clipboard
Functions
Functions
line
Intersect
Link copied to clipboard
@
JvmStatic
fun
lineIntersect
(
line1Start
:
Vec2
,
line1End
:
Vec2
,
line2Start
:
Vec2
,
line2End
:
Vec2
)
:
Vec2
?
Content copied to clipboard
point
Is
On
Line
Link copied to clipboard
@
JvmStatic
fun
pointIsOnLine
(
lineStart
:
Vec2
,
lineEnd
:
Vec2
,
point
:
Vec2
)
:
Boolean
Content copied to clipboard