CheckCollisionBoxSphere method

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

Implementation

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