Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbid authored Jul 10, 2023
1 parent df75189 commit 7abfcc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,14 +631,14 @@ void doPerspective()
mIdent(&projection);

if(ortho == 1)
mOrtho(&projection, -5.0f, 5.0f, -3.2f, 3.4f, 2.0f, 320.f);
mOrtho(&projection, -5.0f, 5.0f, -3.2f, 3.4f, 2.0f, 30.f);
else
{
if(winw > winh)
aspect = ww / wh;
else
aspect = wh / ww;
mPerspective(&projection, 30.0f, aspect, 2.0f, 320.f);
mPerspective(&projection, 30.0f, aspect, 2.0f, 30.f);
}
}

Expand Down

0 comments on commit 7abfcc6

Please sign in to comment.