test
This commit is contained in:
@@ -13,9 +13,9 @@ namespace Game::AGame {
|
||||
void HUDText::update(float deltaTime) {
|
||||
(void)deltaTime;
|
||||
|
||||
int windowW = 0;
|
||||
int windowH = 0;
|
||||
SDL_GetWindowSizeInPixels(Window::Window::getSDLWindowBackend(), &windowW, &windowH);
|
||||
// Use logical world dimensions (1280×720) not actual screen size
|
||||
constexpr int windowW = 1280;
|
||||
constexpr int windowH = 720;
|
||||
float camX = 0.f;
|
||||
float camY = 0.f;
|
||||
Object::Camera::getInstance().getPosition(camX, camY);
|
||||
|
||||
Reference in New Issue
Block a user