@writegames.com/game-math
Preparing search index...
isPointOnLine
Function isPointOnLine
isPointOnLine
<
T
extends
Vector
>
(
p
:
T
,
a
:
T
,
b
:
T
)
:
boolean
Checks whether a point lies on a line.
Type Parameters
T
extends
Vector
Parameters
p
:
T
The point to test
a
:
T
The start of the line
b
:
T
The end of the line
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@writegames.com/game-math
Loading...
Checks whether a point lies on a line.