DrawCylinderEx method

void DrawCylinderEx(
  1. Vector3D startPos,
  2. Vector3D endPos,
  3. num startRadius,
  4. num endRadius,
  5. num sides,
  6. ColorD color,
)

Draw a cylinder with base at startPos and top at endPos

Implementation

void DrawCylinderEx(
  Vector3D startPos,
  Vector3D endPos,
  num startRadius,
  num endRadius,
  num sides,
  ColorD color,
) => run(
  () => _debugLabels.DrawCylinderEx(startPos, endPos, startRadius, endRadius, sides, color),
  () => _flat.DrawCylinderEx(
    startPos,
    endPos,
    startRadius.toDouble(),
    endRadius.toDouble(),
    sides.toInt(),
    color,
  ),
);