Coordinate Setup

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?


check the faq section 9

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

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