paroj / gltut

Learning Modern 3D Graphics Programming
https://paroj.github.io/gltut/
MIT License
1.57k stars 377 forks source link

Aspect ratio calculation snafu #25

Closed paroj closed 8 years ago

paroj commented 13 years ago

Originally reported by: Jason McKesson (Bitbucket: alfonse, GitHub: alfonse)


For some reason, all my aspect ratio calculations use h/w instead of w/h. FIX THIS.


paroj commented 12 years ago

Original comment by Jason McKesson (Bitbucket: alfonse, GitHub: alfonse):


Fixed in <>