|
R-Type 0.1
|
Position, rotation and scale of an entity in world space. More...
#include <components/Transform.hpp>
Public Attributes | |
| float | rotation |
| Rotation in radians. | |
| utils::vec2 | position |
| Top left corner, in pixels. | |
| utils::vec2 | scale |
| Scale factor on each axis. | |
Position, rotation and scale of an entity in world space.
Positions are in pixels, with the origin in the top left corner, x growing to the right and y growing downwards.