CheckCollisionBoxSphere method

bool CheckCollisionBoxSphere(
  1. BoundingBoxD box,
  2. Vector3D center,
  3. num radius
)

Check collision between box and sphere

Implementation

bool CheckCollisionBoxSphere(
  BoundingBoxD box,
  Vector3D center,
  num radius,
) => run(
  () => _debugLabels.CheckCollisionBoxSphere(box, center, radius),
  () => _flat.CheckCollisionBoxSphere(
    box,
    center,
    radius.toDouble(),
  ),
);