Mount Fuji Engine  0.8b
MF_API void MFPrimitive_DrawCapsule ( const MFVector startPoint,
const MFVector endPoint,
float  radius,
int  segments = 8,
int  slices = 5,
const MFVector colour = MFVector::one,
const MFMatrix mat = MFMatrix::identity,
bool  wireframe = true 
)

Draws a capsule.

Parameters
startPointPoint in the center of the first end sphere.
endPointPoint in the center of the second end sphere.
radiusRadius of the capsule.
segmentsNumber of segments (Subdivisions around the capsule).
slicesNumber of slices (Subdivisions down the capsule).
colourColour of capsule.
matWorld matrix for rendering.
wireframeRenders the capsule in wireframe.
Returns
None.