From 88cc1cef079f2ece6307c46634a0ef277fc38af8 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 11:50:41 +0800 Subject: [PATCH] --- scene.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scene.c b/scene.c index 042d0db..c9ec127 100644 --- a/scene.c +++ b/scene.c @@ -575,8 +575,6 @@ void display() { glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - glColor4f(0.7, 0.0, 0.0, 0.3); - glColor4f(1.0, 1.0, 1.0, 0.3); drawFloor(); glDisable(GL_BLEND); @@ -654,7 +652,7 @@ glMatrixMode(GL_PROJECTION); /* aspect ratio */ 1.0, /* Z near */ 20.0, /* Z far */ 100.0); glMatrixMode(GL_MODELVIEW); - gluLookAt(0.0, 8.0, 80.0, /* eye is at (0,8,60) */ + gluLookAt(0.0, 8.0, 60.0, /* eye is at (0,8,60) */ 0.0, 8.0, 0.0, /* center is at (0,8,0) */ 0.0, 1.0, 0.); /* up is in postivie Y direction */ -- 2.20.1