remove dependency on libGLU

This commit is contained in:
Brian
2007-11-12 08:02:09 -07:00
parent b87ce5be82
commit f6ab1347d6

View File

@@ -47,7 +47,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include <GL/glx.h> #include <GL/glx.h>
#include <GL/glu.h>
#include <X11/keysym.h> #include <X11/keysym.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
@@ -135,7 +134,7 @@ int main(int argc, char** argv) {
/* set up viewing parameters */ /* set up viewing parameters */
glMatrixMode(GL_PROJECTION); glMatrixMode(GL_PROJECTION);
gluPerspective(20, 1, 10, 20); glFrustum(-1, 1, -1, 1, 6, 20);
glMatrixMode(GL_MODELVIEW); glMatrixMode(GL_MODELVIEW);
glTranslatef(0, 0, -15); glTranslatef(0, 0, -15);