From ce7b7f0dc579cb9b4e1a48080c6cdbf778a376af Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 18:42:34 +0800 Subject: [PATCH] --- scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene.c b/scene.c index 8d90cf7..471a506 100644 --- a/scene.c +++ b/scene.c @@ -539,7 +539,7 @@ void display() { gluLookAt( 0.0, 0.0, -60.0, /* eye is at (x,y,z) */ 0.0, 0.0, 0.0, /* center is at (x,y,z) */ - 0.0, 1.0, 0.0 /* up is in postivie Y direction */ + 0.0, 1.0, 1.0 /* up is in postivie Y direction */ ); /* Reposition the light source. */ @@ -558,7 +558,7 @@ void display() { glPushMatrix(); - glTranslatef(0.0, 0.0, 0.0); + //glTranslatef(0.0, 0.0, 0.0); glutSolidTeapot(30); // Draw teapot for test glPopMatrix(); -- 2.20.1