CheckCollisionSpheres method

bool CheckCollisionSpheres(
  1. Vector3D center1,
  2. num radius1,
  3. Vector3D center2,
  4. num radius2,
)

Implementation

bool CheckCollisionSpheres(
  Vector3D center1,
  num radius1,
  Vector3D center2,
  num radius2,
) => run(
  () => 'CheckCollisionSpheres($center1, $radius1, $center2, $radius2)',
  () => rl.Core.CheckCollisionSpheres(
    rl.Temp.Vector3$.Ref1(center1).ref,
    radius1.toDouble(),
    rl.Temp.Vector3$.Ref2(center2).ref,
    radius2.toDouble(),
  ),
);