example resize fixes

This commit is contained in:
Jon Daniel 2025-02-26 19:12:32 +01:00
parent e4993c5557
commit 48f9c9c8ff
32 changed files with 323 additions and 234 deletions

View file

@ -46,6 +46,11 @@ int main(void)
// Main game loop
while (!WindowShouldClose()) // Detect window close button or ESC key
{
scleraLeftPosition.x = GetScreenWidth()/2.0f - 100.0f;
scleraLeftPosition.y = GetScreenHeight()/2.0f;
scleraRightPosition.x = GetScreenWidth()/2.0f + 100.0f;
scleraRightPosition.y = GetScreenHeight()/2.0f;
// Update
//----------------------------------------------------------------------------------
irisLeftPosition = GetMousePosition();
@ -108,4 +113,4 @@ int main(void)
//--------------------------------------------------------------------------------------
return 0;
}
}