Corrected issue when scaling
This commit is contained in:
parent
965a91cebb
commit
2f56119568
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ int main()
|
||||||
|
|
||||||
DrawRectangleRec(player, RED);
|
DrawRectangleRec(player, RED);
|
||||||
|
|
||||||
DrawRectangle(camera.target.x, -500, 1, screenHeight*4, GREEN);
|
DrawLine(camera.target.x, -screenHeight*10, camera.target.x, screenHeight*10, GREEN);
|
||||||
DrawRectangle(-500, camera.target.y, screenWidth*4, 1, GREEN);
|
DrawLine(-screenWidth*10, camera.target.y, screenWidth*10, camera.target.y, GREEN);
|
||||||
|
|
||||||
EndMode2D();
|
EndMode2D();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue