Stowy Physics Engine 0.1.0
Loading...
Searching...
No Matches
Transform.hpp
Go to the documentation of this file.
1
11#pragma once
12
13#include "math/Vector2.hpp"
14
15namespace stw
16{
22{
23public:
28
33
37 float rotation{};
38};
39}
Contains the Vector2 struct.
Definition BroadPhaseGrid.hpp:18
A transform of an object. Contains position, scale and rotation.
Definition Transform.hpp:22
float rotation
The rotation of this object.
Definition Transform.hpp:37
Vector2 scale
The scale of this object.
Definition Transform.hpp:32
Vector2 position
The position of this object.
Definition Transform.hpp:27
A struct representing a 2D Vector.
Definition Vector2.hpp:21