GXDrawIcosahedron

C Specification

#include <revolution/gx.h>
void GXDrawIcosahedron( void );

Arguments

None.

Return Values

None.

Description

This function draws a unit icosahedron. By default, this function generates both position and normal information in 32-bit floating point. The function saves the current vertex descriptor and the vertex attribute format used before drawing (and restores them afterward) so as not to interfere with the application's state.  An example is:

GXDrawIcosahedron();

The icosahedron is centered about the origin.

See Also

Revision History

03/01/2006 Initial version.