DrawCapsuleWires method

void DrawCapsuleWires(
  1. Vector3D startPos,
  2. Vector3D endPos,
  3. num radius,
  4. num slices,
  5. num rings,
  6. ColorD color,
)

Draw capsule wireframe with the center of its sphere caps at startPos and endPos

Implementation

void DrawCapsuleWires(
  Vector3D startPos,
  Vector3D endPos,
  num radius,
  num slices,
  num rings,
  ColorD color,
) => run(
  () => _debugLabels.DrawCapsuleWires(startPos, endPos, radius, slices, rings, color),
  () => _flat.DrawCapsuleWires(
    startPos,
    endPos,
    radius.toDouble(),
    slices.toInt(),
    rings.toInt(),
    color,
  ),
);