GXDrawOctahedron

Syntax

#include <revolution/gx.h>

void GXDrawOctahedron( void );

Arguments

None.

Return Values

None.

Description

This function draws a unit octahedron. By default, this function generates both vertex coordinate 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 usage is:

GXDrawOctahedron();

The octahedron is drawn centered about the origin.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL