Skip to contents

Get collision rectangle for two rectangles collision.

Usage

get_collision_rec(rec_1, rec_2)

Arguments

rec_1

A rectangle.

rec_2

A rectangle.

Value

A rectangle

Note

This function has been auto-generated from the following Raylib function definition:

Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2);