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

Draws a sphere.

Parameters
positionPosition of the sphere.
radiusRadius of the sphere.
segmentsNumber of segments (Subdivisions around the sphere).
slicesNumber of slices (Subdivisions down the sphere).
colourColour of sphere.
matWorld matrix for rendering.
wireframeRenders the sphere in wireframe.
Returns
None.