NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int glPyramid ( int  glMode,
int  glSizeX,
int  glSizeY,
int  glSizeZ 
)
inline

Create a 3D pyramid.

Define a 3D pyramid using the specified begin mode for all faces. The center of the pyramid is at the origin of the XYZ axis with width, height, and depth specified via the glSizeX, glSizeY, and glSizeZ parameters.

Parameters
glModeThe begin mode for each surface. See Graphics library begin modes.
glSizeXThe X axis size (width).
glSizeYThe Y axis size (height).
glSizeZThe Z axis size (depth).