X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=scene.c;h=cbe3b56a773f444f4dba974001ddc4626f82a4bb;hb=2346e516c0f689c1e78d150134ab9781c0413faf;hp=b66be6f64e289b35db0e48695704f7a3e0879409;hpb=e870d5eada14c45367e8bbd872dc5f9095f8393f;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index b66be6f..cbe3b56 100644 --- a/scene.c +++ b/scene.c @@ -557,8 +557,9 @@ void display() { drawFloor(); glDisable(GL_BLEND); + glMatrixMode(GL_PROJECTION); glPushMatrix(); - glLoadIdentity(); + glTranslatef(0.0, 0.0, 0.0); glutSolidTeapot(5); // Draw teapot for test