DrawCapsule method
void
DrawCapsule()
override
Draw a capsule with the center of its sphere caps at startPos and endPos
Implementation
@override
void DrawCapsule(
Vector3D startPos,
Vector3D endPos,
double radius,
int slices,
int rings,
ColorD color,
) => _ffi.DrawCapsule(
$.Vector3$.Ref1(startPos).asNativePointer<Vector3C>().ref,
$.Vector3$.Ref2(endPos).asNativePointer<Vector3C>().ref,
radius,
slices,
rings,
$.Color$.Ref1(color).asNativePointer<ColorC>().ref,
);