|
ZenitUI
Retained-mode C++20 UI framework
|
2D affine transform stored as pivot + translate + rotation + scale. More...
#include <CoreTypes.hpp>
Public Attributes | |
| Vec2 | pivot |
| Vec2 | translate |
| float | rotationDeg {0.0f} |
| float | scale {1.0f} |
2D affine transform stored as pivot + translate + rotation + scale.
Applying: translate the pivot to origin, scale, rotate, then add pivot back and apply the translation. Matches the CSS transform-origin convention used by the layout system.