GlutNewbie
02-25-2003, 06:07 PM
Hi.
This is what I did?
1. glutInitWindowSize(400, 400);
2. gluOrtho2D(100, 300, 100, 300);
Why does the window that shows up only show the gluOrtho2D coordinates?
Isn't gluOrtho2D just the clipping region as in the area outside of the clipping region but in the window size will be a border? Or am I incorrect in assuming that?
If only the clipping region will be viewable, then what is the point of the Window Size? Why not just specify the size using gluOrtho2D?
Thanks.
This is what I did?
1. glutInitWindowSize(400, 400);
2. gluOrtho2D(100, 300, 100, 300);
Why does the window that shows up only show the gluOrtho2D coordinates?
Isn't gluOrtho2D just the clipping region as in the area outside of the clipping region but in the window size will be a border? Or am I incorrect in assuming that?
If only the clipping region will be viewable, then what is the point of the Window Size? Why not just specify the size using gluOrtho2D?
Thanks.