Lightweight 2D affine transformation mapping (x, y) -> (ax*x + bx*y + cx, ay*x + by*y + cy).
More...
#include <coord_frame.hpp>
|
| glm::vec2 | apply (float x, float y) const |
Lightweight 2D affine transformation mapping (x, y) -> (ax*x + bx*y + cx, ay*x + by*y + cy).
◆ apply()
| glm::vec2 hmap::AffineTransform2D::apply |
( |
float | x, |
|
|
float | y ) const |
◆ ax
| float hmap::AffineTransform2D::ax = 1.f |
◆ bx
| float hmap::AffineTransform2D::bx = 0.f |
◆ cx
| float hmap::AffineTransform2D::cx = 0.f |
◆ ay
| float hmap::AffineTransform2D::ay = 0.f |
◆ by
| float hmap::AffineTransform2D::by = 1.f |
◆ cy
| float hmap::AffineTransform2D::cy = 0.f |
The documentation for this struct was generated from the following files: