|
#define glPyramid |
( |
_glMode, |
|
|
_glSizeX, |
|
|
_glSizeY, |
|
|
_glSizeZ, |
|
|
_glObjId |
|
) |
__glPyramid(_glMode, _glSizeX, _glSizeY, _glSizeZ, _glObjId) |
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:
-
| _glMode | The begin mode for each surface. See Graphics library begin modes. |
| _glSizeX | The X axis size (width). |
| _glSizeY | The Y axis size (height). |
| _glSizeZ | The Z axis size (depth). |
| _glObjId | The object ID of the new object. |
|