DrawCylinderEx method
void
DrawCylinderEx()
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,
),
);