Implement Scene Objects; their drawing and parameters. Implement base code for Soluti...
authorAsh Tyndall <git@atyndall.net>
Fri, 21 Oct 2011 13:18:34 +0000 (21:18 +0800)
committerAsh Tyndall <git@atyndall.net>
Fri, 21 Oct 2011 13:18:34 +0000 (21:18 +0800)
helper.c
scene.c

index 3bc1007..9cfb1fb 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -299,7 +299,7 @@ int addSceneObject(int id) {
   curObject = nObjects;
 
   sceneObjs[nObjects].mesh = -1; // Teapot is -1 mesh
-  sceneObjs[nObjects].texture = -1;
+  sceneObjs[nObjects].texture = -1; // No texture
   sceneObjs[nObjects].x = 0;
   sceneObjs[nObjects].y = 0;
   sceneObjs[nObjects].z = 0;
diff --git a/scene.c b/scene.c
index 4514e79..c650c05 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -110,7 +110,6 @@ void processLightEvents(int id) {
  * @param id ID of object selected\r
  */\r
 void processObjectEvents(int id) {\r
-  // **NOTE: For the testing phase, only have the teapot\r
   addSceneObject(id);\r
   glutPostRedisplay();\r
 }\r

UCC git Repository :: git.ucc.asn.au