Matrix stack to store model-view, projection, texture, and color matrices, used by RenderState.
More...
#include "RenderState.h"
|
std::stack< glm::mat4 > | stack_ |
|
Matrix stack to store model-view, projection, texture, and color matrices, used by RenderState.
The member functions are defined in the header file to allow inlining.
Definition at line 47 of file RenderState.h.
◆ MatrixStack()
scg::MatrixStack::MatrixStack |
( |
| ) |
|
|
inline |
◆ getMatrix()
const glm::mat4& scg::MatrixStack::getMatrix |
( |
| ) |
const |
|
inline |
◆ multMatrix()
void scg::MatrixStack::multMatrix |
( |
const glm::mat4 & |
matrix | ) |
|
|
inline |
◆ popMatrix()
void scg::MatrixStack::popMatrix |
( |
| ) |
|
|
inline |
◆ pushMatrix() [1/2]
void scg::MatrixStack::pushMatrix |
( |
| ) |
|
|
inline |
◆ pushMatrix() [2/2]
void scg::MatrixStack::pushMatrix |
( |
const glm::mat4 & |
matrix | ) |
|
|
inline |
◆ setIdentity()
void scg::MatrixStack::setIdentity |
( |
| ) |
|
|
inline |
◆ setMatrix()
void scg::MatrixStack::setMatrix |
( |
const glm::mat4 & |
matrix | ) |
|
|
inline |
◆ stack_
std::stack<glm::mat4> scg::MatrixStack::stack_ |
|
protected |
The documentation for this class was generated from the following file: