Check the collision between two lines defined by two points each, returns collision point by reference.
Arguments
- start_pos_1
A numeric vector of length 2.
- end_pos_1
A numeric vector of length 2.
- start_pos_2
A numeric vector of length 2.
- end_pos_2
A numeric vector of length 2.
- collision_point
A numeric vector of length 2.
Note
This function has been auto-generated from the following Raylib function definition:
CheckCollisionLines(Vector2 startPos1, Vector2 endPos1, Vector2 startPos2, Vector2 endPos2, Vector2 *collisionPoint); bool
See also
Other collision functions:
check_collision_box_sphere()
,
check_collision_boxes()
,
check_collision_circle_rec()
,
check_collision_circles()
,
check_collision_point_circle()
,
check_collision_point_line()
,
check_collision_point_rec()
,
check_collision_point_triangle()
,
check_collision_recs()
,
check_collision_spheres()
,
get_collision_rec()
,
get_ray_collision_box()
,
get_ray_collision_mesh()
,
get_ray_collision_model()
,
get_ray_collision_quad()
,
get_ray_collision_sphere()
,
get_ray_collision_triangle()