GXDrawDodeca

Syntax

#include <revolution/gx.h>

void GXDrawDodeca( void );

Arguments

None.

Return Values

None.

Description

This function renders a unit dodecahedron. It generates both vertex coordinate and normal information in 32-bit floating point. The normals are face normals, so the dodecahedron appears flat-shaded. 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 usage is:

GXDrawDodeca();

The model is drawn centered about the origin.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL