CheckCollisionBoxSphere method

  1. @override
bool CheckCollisionBoxSphere(
  1. BoundingBox box,
  2. Vector3 center,
  3. double radius
)
override

Check collision between box and sphere

Implementation

@override
bool CheckCollisionBoxSphere(
  BoundingBox box,
  Vector3 center,
  double radius,
) => _ffi.CheckCollisionBoxSphere(
  BoundingBox$.Ref1(box).asNativePointer<BoundingBoxC>().ref,
  Vector3$.Ref1(center).asNativePointer<Vector3C>().ref,
  radius,
);