Handbook
Glossary
check-collision-lines ( startPos1 endPos1 startPos2 endPos2 collisionPoint -- bool )
Vocabulary
raylib
Inputs
startPos1
a
Vector2
endPos1
a
Vector2
startPos2
a
Vector2
endPos2
a
Vector2
collisionPoint
a
pointer
to a
Vector2
Outputs
bool
a
bool
Word description
Check the collision between two lines defined by two points each, returns collision point by reference
Definition
USING:
alien.c-types
alien.syntax
;
IN:
raylib
LIBRARY:
raylib
FUNCTION-ALIAS:
check-collision-lines
bool
CheckCollisionLines
(
Vector2
startPos1,
Vector2
endPos1,
Vector2
startPos2,
Vector2
endPos2, Vector2* collisionPoint )