From: Ash Tyndall Date: Sun, 9 Oct 2011 11:49:30 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=28bcb0c0aa9fe63f8551b65ffca1c8c32eb0d9bd;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 860d821..ac652d3 100644 --- a/scene.c +++ b/scene.c @@ -510,8 +510,12 @@ void display() { glTranslatef( 0.0f, 0.0f, -5.0f); // Move into the Screen 10.0 glutSolidTeapot(1); +glMatrixMode(GL_PROJECTION); + glLoadIdentity(); gluLookAt(0.7f, 0.4f, 0.9f, -2.0f, -1.0f, -7.0f, 1.0f, 10.0f, 1.0f); + glMatrixMode(GL_MODELVIEW); + glLoadIdentity(); glutSwapBuffers(); }