I'm not stuck with something but I have a little question:
if(height == 0) // Prevent A Divide By Zero By
height = 1; // Making Height Equal To One
Is it not better that you set the '==' to '<=' ?
If someone who doesn't know anything about C++, and he see a method ' SetWindowHeight(int height) ' that will set the window height.
Then he can accidentally write: SetHeight(-500);
I don't know much about programming. This is my first year in college I get Programming. ( I'm studying Digital Arts & Entertainment ).
I've only seen Win32.. So nothing from OpenGl and that's why I'm learning it now :-)
Edited by turbello, 21 June 2011 - 01:19 PM.