Matrices struct reference


It contains all matrices and vectors used to display widgets in a specific place, with specific transformations.

Functions documentation

Default constructor.


Matrices(const Matrices& copy);

Copy constructor.


Destructor.


Variables documentation

glm::vec3 v3AnchorTranslation;

Stores the widget shift caused by the anchor setting.


glm::mat4 m4Translation;

Stores the widget's translation matrix.


glm::mat4 m4Rotation;

Stores the widget's rotation matrix.


glm::mat4 m4Model;

Stores the widget's model matrix which is based on Translation, Rotation and Scale matrices.


glm::mat4 m4Scale;

Stores the widget's scale matrix.


glm::mat4 m4Mvp;

Represents the current MVP matrix for the widget.