Skip to contents

Check collision between circle and rectangle.

Usage

check_collision_circle_rec(center, radius, rec)

Arguments

center

A numeric vector of length 2.

radius

A number.

rec

A rectangle.

Value

A logical

Note

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

bool CheckCollisionCircleRec(Vector2 center, float radius, Rectangle rec);