Function testRectangleCircle

Tests for collision between a rectangle and a circle.

CollisionResult testRectangleCircle(
  RectangleShape rect,
  CircleShape circle
);

Parameters

NameDescription
rect The rectangle shape
circle The circle shape

Returns

CollisionResult containing collision information