11 lines
246 B
C++
11 lines
246 B
C++
#pragma once
|
|
|
|
namespace Game::Object {
|
|
typedef struct {
|
|
float x, y;
|
|
float rotation; // In degrees, clockwise
|
|
float scaleX, scaleY;
|
|
} Transform;
|
|
|
|
constexpr Transform DEFAULT_TRANSFORM{0.f, 0.f, 0.f, 1.f, 1.f};
|
|
} |