+
+ if ( sceneObjs[nObjects].scale == NULL || sceneObjs[nObjects].rotation.vect == NULL ) {
+ sprintf(stderr, "Could not allocate memory for Scene Object! Shutting down!\n");
+ exit(EXIT_FAILURE);
+ }
+
+ nObjects += 1; // New object in scene
+
+ return nObjects;