From: Ash Tyndall Date: Sat, 22 Oct 2011 06:06:55 +0000 (+0800) Subject: Fixed near/far left/right moving of objects. Starting work on moving lights. X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d5002dd2de78f7f736f7dbc95014c40501c06191;p=atyndall%2Fcits2231.git Fixed near/far left/right moving of objects. Starting work on moving lights. --- diff --git a/scene.c b/scene.c index 57803e5..a2fbea6 100644 --- a/scene.c +++ b/scene.c @@ -153,8 +153,8 @@ void makeMenu() { // Construct light menu int lightMenu = glutCreateMenu(processLightEvents); glutAddMenuEntry("Move Light 1", M_LIGHT_MOVE_LIGHT_1); - glutAddMenuEntry("R/G/B/All Light 1", M_LIGHT_RGBALL_LIGHT_1); - glutAddMenuEntry("Move Light 2", M_LIGHT_MOVE_LIGHT_2); + //glutAddMenuEntry("R/G/B/All Light 1", M_LIGHT_RGBALL_LIGHT_1); + //glutAddMenuEntry("Move Light 2", M_LIGHT_MOVE_LIGHT_2); glutAddMenuEntry("R/G/B/All Light 2", M_LIGHT_RGBALL_LIGHT_2); // Construct object menu @@ -173,7 +173,7 @@ void makeMenu() { //glutAddSubMenu("Material", materialMenu); glutAddSubMenu("Texture", textureMenu); glutAddSubMenu("Ground texture", gTextureMenu); - //glutAddSubMenu("Lights", lightMenu); + glutAddSubMenu("Lights", lightMenu); glutAddMenuEntry("Exit", M_EXIT); // Bind to right mouse button