renderiranje - nazaj na singlethreaded ker me SDL ne mara :(

This commit is contained in:
2026-03-11 20:19:15 +01:00
parent d748ca63a0
commit 834f0b29c3
18 changed files with 230 additions and 75 deletions

View File

@@ -0,0 +1,11 @@
#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};
}