2D transformation.
More...
#include <le2d/transform.hpp>
◆ accumulate()
- Returns
- Transform with positions and orientations added and scales multiplied together.
◆ to_inverse_view()
auto le::Transform::to_inverse_view |
( |
| ) |
const -> glm::mat4 |
- Returns
- Inverse of view matrix.
◆ to_model()
auto le::Transform::to_model |
( |
| ) |
const -> glm::mat4 |
◆ to_view()
auto le::Transform::to_view |
( |
| ) |
const -> glm::mat4 |
◆ identity_mat_v
constexpr auto le::Transform::identity_mat_v = glm::mat4{1.0f} |
|
staticconstexpr |
◆ orientation
◆ position
glm::vec2 le::Transform::position {} |
◆ scale
glm::vec2 le::Transform::scale {1.0f} |
The documentation for this struct was generated from the following file: