|
HikoGUI
A low latency retained GUI
|
#include <TTauri/Foundation/mat.hpp>
Public Member Functions | |
| S (vec rhs) noexcept | |
| S (float x, float y, float z=1.0f) noexcept | |
| operator mat () const noexcept | |
| Create a scaling matrix. | |
Static Public Member Functions | |
| static S | uniform2D (vec haystack, vec needle) noexcept |
| Get a scaling matrix to uniformly scale a needle to fit in the haystack. | |
Data Fields | |
| vec | s |
Friends | |
| S | operator* (S const &lhs, S const &rhs) noexcept |
| vec | operator* (S const &lhs, vec const &rhs) noexcept |
| tt_force_inline friend aarect | operator* (S const &lhs, aarect const &rhs) noexcept |
| Matrix/Vector multiplication. | |
| rect | operator* (S const &lhs, rect const &rhs) noexcept |
| S | operator~ (S const &rhs) noexcept |
| Invert matrix. | |
Optimized scale matrix.
|
inlinenoexcept |
Create a scaling matrix.
Get a scaling matrix to uniformly scale a needle to fit in the haystack.
Matrix/Vector multiplication.
Used for transforming vectors.