+}
+
+void addSceneObject(int id) {
+ // **NOTE: Currently only adds the teapot
+
+ nObjects += 1; // New object in scene
+
+ sceneObjs[nObjects].mesh = -1;
+ sceneObjs[nObjects].texture = -1;
+ sceneObjs[nObjects].x = 0;
+ sceneObjs[nObjects].y = 0;
+ sceneObjs[nObjects].z = 0;
+
+ sceneObjs[nObjects].scale = (vector*)calloc( 3, sizeof(vector[0]) );
+
+ sceneObjs[nObjects].rotation.parameter = 0;
+ sceneObjs[nObjects].rotation.vect = (vector*)calloc( 3, sizeof(vector[0]) );