Mount Fuji Engine  0.8b
MF_API void MFPrimitive_DrawCylinder ( 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 cylinder.

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