GL Studio C++ Runtime API
|
Class to contain current OpenGL view, projection and draw matrices. More...
#include <util.h>
Public Member Functions | |
OpenGLMatrices () | |
OpenGLMatrices (const OpenGLMatrices &src) | |
OpenGLMatrices (int *view, GlsMatrixType *proj, GlsMatrixType *model) | |
~OpenGLMatrices () | |
Destructor. | |
void | GetCurrent () |
Retrieves the current OpenGL Matrices from the OpenGL Subsystem. | |
Public Attributes | |
int * | viewMatrix |
The viewport matrix. | |
GlsMatrixType * | projMatrix |
The projection matrix. | |
GlsMatrixType * | modelMatrix |
The modelview matrix. | |
Class to contain current OpenGL view, projection and draw matrices.
OpenGLMatrices | ( | ) |
Default constructor. Keeps everything NULL.
OpenGLMatrices | ( | const OpenGLMatrices & | src | ) |
Copy constructor.
src | The object to copy from. |
OpenGLMatrices | ( | int * | view, |
GlsMatrixType * | proj, | ||
GlsMatrixType * | model | ||
) |
Another constructor.
view | The viewport matrix to use. |
proj | The projection matrix to use. |
model | The modelview matrix to use. |