check-collision-point-line ( point p1 p2 threshold -- bool )


Vocabulary
raylib

Inputs
pointa Vector2
p1a Vector2
p2a Vector2
thresholdan int


Outputs
boola bool


Word description
Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]

Definition