Unofficial OpenGL Software Development Kit: Matrix Stack

Unofficial OpenGL Software Development Kit 0.5.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes
Matrix Stack
GL Util

##

Class and utility classes for matrix stacks.

A common task in OpenGL programs is to have a stack of transforms. This is useful for hierarchial rendering and for traversing a scene graph. Indeed, OpenGL before 3.1's removal of old features had matrix stacks built in.

Since it is a very useful feature, the GL Util library provides the MatrixStack class. It also provides the PushStack class for RAII-style pushing and poping operations.

## Classes

class | glutil::MatrixStack
| Implements a stack for glm::mat4 transformations. More...
class | glutil::PushStack
| RAII-style object for pushing/popping MatrixStack objects. More...