check-collision-lines ( startPos1 endPos1 startPos2 endPos2 collisionPoint -- bool )


Vocabulary
raylib

Inputs
startPos1a Vector2
endPos1a Vector2
startPos2a Vector2
endPos2a Vector2
collisionPointa pointer to a Vector2


Outputs
boola bool


Word description
Check the collision between two lines defined by two points each, returns collision point by reference

Definition


LIBRARY: raylib FUNCTION-ALIAS: check-collision-lines bool
CheckCollisionLines
( Vector2 startPos1, Vector2 endPos1, Vector2 startPos2,
Vector2 endPos2, Vector2* collisionPoint )