- sceneObjs[nObjects].rotation.parameter = 0;
- sceneObjs[nObjects].rotation.vect = (vector*)calloc( 3, sizeof(vector[0]) );
-
- 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);
- }
+ sceneObjs[nObjects].rotation.x = 0;
+ sceneObjs[nObjects].rotation.y = 0;
+ sceneObjs[nObjects].rotation.z = 0;