OpenGL Question: Changing Min/Max X/Y/Z
Hi,
I''m making a tetris clone with OpenGL. I''m using the code from NeHe Tutorial #1. Where in the code do I specify the minimum and maximum X, Y, and Z dimensions? I think the min & max X is 5 and I''m not sure what it is for Y and Z, but I''d like them to be minX=about -100 and maxX=about +100, etc. So what should i do?
C:DOSC:DOSRUNRUN DOSRUN
January 27, 2001 07:02 PM
You set them with a call to gluPerspective. You give an angle and not min/max values for x. This is the standard for 3D but perhaps are you working on a 2D app?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement