Graphite
Version 3
An experimental 3D geometry processing program
|
#include <geogram_gfx/GLUP/GLUP_context.h>
Classes | |
struct | Matrix |
Public Member Functions | |
MatrixStack () | |
MatrixStack constructor. | |
GLdouble * | top () |
Gets the matrix on the top of the stack. More... | |
void | push () |
Pushes a copy of the top matrix. | |
void | pop () |
Removes a matrix from the top of the stack. | |
Static Public Attributes | |
static const int | MAX_DEPTH =16 |
Maximum number of matrices in a stack. | |
A Matrix stack.
There are three matrix stacks in a context, for modelview matrices, projection matrices and texture coordinates.
Definition at line 276 of file GLUP_context.h.
|
inline |
Gets the matrix on the top of the stack.
Definition at line 297 of file GLUP_context.h.