NXC
Version 1.2.1 r5
|
Documentation for a simple 3D graphics library. More...
Modules | |
Graphics library actions | |
Constants that are used to specify a graphics library action. | |
Graphics library begin modes | |
Constants that are used to specify the polygon surface begin mode. | |
Graphics library cull mode | |
Constants to use when setting the graphics library cull mode. | |
Graphics library settings | |
Constants that are used to configure the graphics library settings. | |
Functions | |
void | glInit () |
Initialize graphics library. | |
void | glSet (int glType, int glValue) |
Set graphics library options. | |
int | glBeginObject () |
Begin defining an object. | |
void | glEndObject () |
Stop defining an object. | |
void | glObjectAction (int glObjectId, int glAction, int glValue) |
Perform an object action. | |
void | glAddVertex (int glX, int glY, int glZ) |
Add a vertex to an object. | |
void | glBegin (int glBeginMode) |
Begin a new polygon for the current object. | |
void | glEnd () |
Finish a polygon for the current object. | |
void | glBeginRender () |
Begin a new render. | |
void | glCallObject (int glObjectId) |
Call a graphic object. | |
void | glFinishRender () |
Finish the current render. | |
void | glSetAngleX (int glValue) |
Set the X axis angle. | |
void | glAddToAngleX (int glValue) |
Add to the X axis angle. | |
void | glSetAngleY (int glValue) |
Set the Y axis angle. | |
void | glAddToAngleY (int glValue) |
Add to the Y axis angle. | |
void | glSetAngleZ (int glValue) |
Set the Z axis angle. | |
void | glAddToAngleZ (int glValue) |
Add to the Z axis angle. | |
int | glSin32768 (int glAngle) |
Table-based sine scaled by 32768. | |
int | glCos32768 (int glAngle) |
Table-based cosine scaled by 32768. | |
int | glBox (int glMode, int glSizeX, int glSizeY, int glSizeZ) |
Create a 3D box. | |
int | glCube (int glMode, int glSize) |
Create a 3D cube. | |
int | glPyramid (int glMode, int glSizeX, int glSizeY, int glSizeZ) |
Create a 3D pyramid. | |
Documentation for a simple 3D graphics library.
The library code was written by Arno van der Vegt.