DrawSphere method

  1. @override
void DrawSphere(
  1. Vector3D centerPos,
  2. num radius,
  3. ColorD color
)
override

Implementation

@override
void DrawSphere(
  Vector3D centerPos,
  num radius,
  ColorD color,
) => run(
  () => RaylibDebugLabels.DrawSphere(centerPos, radius, color),
  () => rl.Core.DrawSphere(
    rl.Temp.Vector3$.Ref1(centerPos).ref,
    radius.toDouble(),
    rl.Temp.Color$.Ref1(color).ref,
  ),
);