Changeset 6307 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Dec 27, 2005, 12:20:32 AM (19 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/skybox.cc
r6142 r6307 68 68 this->size = 100.0; 69 69 70 this->material = new Material*[6];71 70 for (int i = 0; i < 6; i++) 72 71 { … … 95 94 for (int i = 0; i < 6; i++) 96 95 delete this->material[i]; 97 delete[] this->material; 98 } 96 } 99 97 100 98 /** -
trunk/src/world_entities/skybox.h
r5511 r6307 44 44 void rebuild(); 45 45 46 Material* * material;//!< Materials for the SkyBox. sorted by number (0-5) top, bottom, left, right, front, back46 Material* material[6]; //!< Materials for the SkyBox. sorted by number (0-5) top, bottom, left, right, front, back 47 47 float size; //!< Size of the SkyBox. This should match the frustum maximum range. 48 48
Note: See TracChangeset
for help on using the changeset viewer.