#include <ugdk/math/geometry.h>
ugdk::math::Geometry::Geometry |
( |
| ) |
|
|
inline |
Creates a new Geometry object with the specified values.
- Parameters
-
offset | The offset of the image. |
scale | The size modifiers for the image. X and Y values can be set independently. |
rot | Rotation angle in radians. 0 points to the right, increases in counterclockwise fashion. |
ugdk::math::Geometry::~Geometry |
( |
| ) |
|
|
inline |
const glm::mat4& ugdk::math::Geometry::AsMat4 |
( |
| ) |
const |
|
inline |
void ugdk::math::Geometry::ChangeOffset |
( |
const math::Vector2D & |
_offset | ) |
|
|
inline |
void ugdk::math::Geometry::Compose |
( |
const Geometry & |
other | ) |
|
|
inline |
Calculates by how much this Geometry translates the rendering.
double ugdk::math::Geometry::rotation |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: