PDA

View Full Version : a sphere becomes a football



jyoung77
07-25-2007, 05:31 PM
Hi,

I draw a sphere using gluSphere() but it looks like a football if I change the width (or height) of the window. I did catch the window size changed event and recall glViewport() to reset the view port. Is there anything else I should do? Your help is appreciated.

Tony

k_szczech
07-25-2007, 10:56 PM
You must also adjust your projection matrix.