|
Practical Tools for Simple Design
|
A struct representing a transformation in 2D space. More...
#include <Transform.hpp>
Public Attributes | |
| glm::vec2 | translation = {0, 0} |
| The translation of the transformation. More... | |
| float | rotation = 0 |
| The rotation of the transformation. More... | |
| glm::vec2 | scale = {1, 1} |
| The scale of the transformation. More... | |
A struct representing a transformation in 2D space.
This struct encapsulates the properties of a transformation in 2D space.
| float Util::Transform::rotation = 0 |
The rotation of the transformation.
This property represents the rotation of the transformation in 2D space. It is represented as a float.
| glm::vec2 Util::Transform::scale = {1, 1} |
The scale of the transformation.
This property represents the scale of the transformation in 2D space. It is represented as a 2D vector.
| glm::vec2 Util::Transform::translation = {0, 0} |
The translation of the transformation.
This property represents the translation of the transformation in 2D space. It is represented as a 2D vector.