checkCollisionBoxSphere function

bool checkCollisionBoxSphere(
  1. BoundingBox box,
  2. Vector3 center,
  3. double radius
)

Check collision between box and sphere.

Implementation

bool checkCollisionBoxSphere(BoundingBox box, Vector3 center, double radius) {
  return library.CheckCollisionBoxSphere(box.ref, center.ref, radius);
}