From d63c4ce701d33fe63a0af65b2335e982dd52f36e Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Thu, 20 Oct 2011 11:38:09 +0800 Subject: [PATCH] --- scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene.c b/scene.c index de52ab8..39809ef 100644 --- a/scene.c +++ b/scene.c @@ -314,8 +314,8 @@ void init() { gluPerspective( 60.0, /* field of view in degree */ 1.0, /* aspect ratio */ - near, /* Z near */ - far /* Z far */ + nearClip, /* Z near */ + farClip /* Z far */ ); glMatrixMode(GL_MODELVIEW); -- 2.20.1