DrawSphere method

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

Draw sphere

Implementation

void DrawSphere(
  Vector3D centerPos,
  num radius,
  ColorD color,
) => run(
  () => _debugLabels.DrawSphere(centerPos, radius, color),
  () => _flat.DrawSphere(
    centerPos,
    radius.toDouble(),
    color,
  ),
);