example resize fixes
This commit is contained in:
parent
e4993c5557
commit
48f9c9c8ff
32 changed files with 323 additions and 234 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue