CheckCollisionBoxSphere method

  1. @override
bool CheckCollisionBoxSphere(
  1. BoundingBoxD box,
  2. Vector3D center,
  3. double radius
)
override

Check collision between box and sphere

Implementation

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