CheckCollisionBoxSphere method

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

Implementation

@override
bool CheckCollisionBoxSphere(
  BoundingBoxD box,
  Vector3D center,
  num radius,
) => run(
  () => RaylibDebugLabels.CheckCollisionBoxSphere(box, center, radius),
  () => rl.Core.CheckCollisionBoxSphere(
    rl.Temp.BoundingBox$.Ref1(box).ref,
    rl.Temp.Vector3$.Ref1(center).ref,
    radius.toDouble(),
  ),
);