Get collision rectangle for two rectangles collision.
Note
This function has been auto-generated from the following Raylib function definition:
GetCollisionRec(Rectangle rec1, Rectangle rec2); Rectangle
See also
rectangle()
for creating rectangle objects.
Other collision functions:
check_collision_box_sphere()
,
check_collision_boxes()
,
check_collision_circle_rec()
,
check_collision_circles()
,
check_collision_lines()
,
check_collision_point_circle()
,
check_collision_point_line()
,
check_collision_point_rec()
,
check_collision_point_triangle()
,
check_collision_recs()
,
check_collision_spheres()
,
get_ray_collision_box()
,
get_ray_collision_mesh()
,
get_ray_collision_model()
,
get_ray_collision_quad()
,
get_ray_collision_sphere()
,
get_ray_collision_triangle()