|
#define glCube |
( |
_glMode, |
|
|
_glSize, |
|
|
_glObjId |
|
) |
__glBox(_glMode, _glSize, _glSize, _glSize, _glObjId) |
Create a 3D cube.
Define a 3D cube using the specified begin mode for all faces. The center of the box is at the origin of the XYZ axis with equal width, height, and depth specified via the glSize parameter.
- Parameters:
-
| _glMode | The begin mode for each surface. See Graphics library begin modes. |
| _glSize | The cube's width, height, and depth. |
| _glObjId | The object ID of the new object. |
|