|
SimpleGL
1.1.0
A framework for platform independent rendering
|
This struct contains information to calculate the Model-View-Projection-Matrix. More...
#include <transform.hpp>
Public Attributes | |
| glm::mat4 | model |
| The model matrix. More... | |
| glm::mat4 | view |
| The view matrix. More... | |
| glm::mat4 | projection |
| The projection matrix. More... | |
| glm::mat4 | clip |
| The clip matrix. More... | |
| bool | changed |
| Tells if the transformation has changed. More... | |
This struct contains information to calculate the Model-View-Projection-Matrix.
Definition at line 40 of file transform.hpp.
| bool sgl::Transformation::changed |
Tells if the transformation has changed.
This should be set to true after setting a new model, view or projection matrix.
Definition at line 58 of file transform.hpp.
| glm::mat4 sgl::Transformation::clip |
The clip matrix.
Definition at line 52 of file transform.hpp.
| glm::mat4 sgl::Transformation::model |
The model matrix.
Definition at line 43 of file transform.hpp.
| glm::mat4 sgl::Transformation::projection |
The projection matrix.
Definition at line 49 of file transform.hpp.
| glm::mat4 sgl::Transformation::view |
The view matrix.
Definition at line 46 of file transform.hpp.
1.8.11