#include <revolution/gx.h> void GXDrawCube( void );
None.
None.
This function draws a unit cube. Each side is 2.0/sqrt(3.0) in length, so the cube will fit inside a sphere with a radius of 1.0. By default, this function generates both vertex coordinate and normal information in 32-bit floating point. Also, when this function is called, it attaches binormal/tangent or texture coordinate (GX_VA_TEX0) corresponding to the vertex descriptor state. This 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.
The cube is drawn centered about the origin.
None.
2006/03/01 Initial version.
CONFIDENTIAL