checkCollisionSpheres function

bool checkCollisionSpheres(
  1. Vector3 center1,
  2. double radius1,
  3. Vector3 center2,
  4. double radius2,
)

Check collision between two spheres.

Implementation

bool checkCollisionSpheres(
  Vector3 center1,
  double radius1,
  Vector3 center2,
  double radius2,
) {
  return library.CheckCollisionSpheres(
    center1.ref,
    radius1,
    center2.ref,
    radius2,
  );
}