|
#define glBox |
( |
_glMode, |
|
|
_glSizeX, |
|
|
_glSizeY, |
|
|
_glSizeZ, |
|
|
_glObjId |
|
) |
__glBox(_glMode, _glSizeX, _glSizeY, _glSizeZ, _glObjId) |
Create a 3D box.
Define a 3D box using the specified begin mode for all faces. The center of the box 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. |
|