DrawSphere method

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

Implementation

void DrawSphere(
  Vector3D centerPos,
  num radius,
  ColorD color,
) => run(
  () => 'DrawSphere($centerPos, $radius, $color)',
  () => rl.Core.DrawSphere(
    _refVector31(centerPos).ref,
    radius.toDouble(),
    _refColor1(color).ref,
  ),
);