PDA

View Full Version : Coordinate Setup



Nat
09-07-2001, 05:10 PM
Hello, how can i make the coordinate system always set to a specific size and position?

Ie i want 0,0 to always be the top left of the screen and 10,10 to be the bottom right of the screen regardless of the window size or shape... any insight?

Nat

zed
09-07-2001, 09:28 PM
check the faq section 9

gluOrtho2D (0, 10, 0, 10);
or
gluOrtho2D (0, 10, 10, 0);

[This message has been edited by zed (edited 09-07-2001).]