From: Ash Tyndall Date: Sat, 8 Oct 2011 05:07:04 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=509cc867cc03c678702153807a22d0e02b397359;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index cffbd54..19df5d3 100644 --- a/scene.c +++ b/scene.c @@ -223,10 +223,10 @@ void processLightEvents(int id) { void makeMenu() { //int main, object, objectsize, material, texture, gtexture, light; - /*glutCreateMenu(processMainEvents); + glutCreateMenu(processMainEvents); - int objectSize = sizeof(objectMenuEntries) / sizeof(objectMenuEntries[0]); + /*int objectSize = sizeof(objectMenuEntries) / sizeof(objectMenuEntries[0]); int numMenus = objectSize/10 + 1; int objectSubmenu[numMenus];