basic movement

This commit is contained in:
2026-03-14 22:27:54 +01:00
parent b19f595daf
commit 2983b919cd
24 changed files with 368 additions and 57 deletions

View File

@@ -5,6 +5,8 @@ namespace Game::Object {
float x, y;
float rotation; // In degrees, clockwise
float scaleX, scaleY;
float adjustedScaleX() const { return scaleX * UNIVERSAL_SCALE_COEFFICIENT; }
float adjustedScaleY() const { return scaleY * UNIVERSAL_SCALE_COEFFICIENT; }
} Transform;
constexpr Transform DEFAULT_TRANSFORM{0.f, 0.f, 0.f, 1.f, 1.f};