From: Ash Tyndall Date: Thu, 20 Oct 2011 03:38:09 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d63c4ce701d33fe63a0af65b2335e982dd52f36e;p=atyndall%2Fcits2231.git --- 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);