Documentation for a simple 3D graphics library. More...
Modules | |
Graphics library begin modes | |
Constants that are used to specify the polygon surface begin mode. | |
Graphics library actions | |
Constants that are used to specify a graphics library action. | |
Graphics library settings | |
Constants that are used to configure the graphics library settings. | |
Graphics library cull mode | |
Constants to use when setting the graphics library cull mode. | |
Defines | |
#define | glInit() __glInit() |
Initialize graphics library. | |
#define | glSet(_glType, _glValue) __glSet(_glType, _glValue) |
Set graphics library options. | |
#define | glBeginObject(_glObjId) __glBeginObject(_glObjId) |
Begin defining an object. | |
#define | glEndObject() __glEndObject() |
Stop defining an object. | |
#define | glObjectAction(_glObjectId, _glAction, _glValue) __glObjectAction(_glObjectId, _glAction, _glValue) |
Perform an object action. | |
#define | glAddVertex(_glX, _glY, _glZ) __glAddVertex(_glX, _glY, _glZ) |
Add a vertex to an object. | |
#define | glBegin(_glBeginMode) __glBegin(_glBeginMode) |
Begin a new polygon for the current object. | |
#define | glEnd() __glEnd() |
Finish a polygon for the current object. | |
#define | glBeginRender() __glBeginRender() |
Begin a new render. | |
#define | glCallObject(_glObjectId) __glCallObject(_glObjectId) |
Call a graphic object. | |
#define | glFinishRender() __glFinishRender() |
Finish the current render. | |
#define | glSetAngleX(_glValue) __glSetAngleX(_glValue) |
Set the X axis angle. | |
#define | glAddToAngleX(_glValue) __glAddToAngleX(_glValue) |
Add to the X axis angle. | |
#define | glSetAngleY(_glValue) __glSetAngleY(_glValue) |
Set the Y axis angle. | |
#define | glAddToAngleY(_glValue) __glAddToAngleY(_glValue) |
Add to the Y axis angle. | |
#define | glSetAngleZ(_glValue) __glSetAngleZ(_glValue) |
Set the Z axis angle. | |
#define | glAddToAngleZ(_glValue) __glAddToAngleZ(_glValue) |
Add to the Z axis angle. | |
#define | glSin32768(_glAngle, _glResult) __glSin32768(_glAngle, _glResult) |
Table-based sine scaled by 32768. | |
#define | glCos32768(_glAngle, _glResult) __glCos32768(_glAngle, _glResult) |
Table-based cosine scaled by 32768. | |
#define | glBox(_glMode, _glSizeX, _glSizeY, _glSizeZ, _glObjId) __glBox(_glMode, _glSizeX, _glSizeY, _glSizeZ, _glObjId) |
Create a 3D box. | |
#define | glCube(_glMode, _glSize, _glObjId) __glBox(_glMode, _glSize, _glSize, _glSize, _glObjId) |
Create a 3D cube. | |
#define | glPyramid(_glMode, _glSizeX, _glSizeY, _glSizeZ, _glObjId) __glPyramid(_glMode, _glSizeX, _glSizeY, _glSizeZ, _glObjId) |
Create a 3D pyramid. |
Documentation for a simple 3D graphics library.
The library code was written by Arno van der Vegt.