Changeset 6009 in orxonox.OLD for trunk/src/lib/graphics/importer/vertex_array_model.cc
- Timestamp:
- Dec 10, 2005, 4:07:04 PM (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/vertex_array_model.cc
r6008 r6009 27 27 using namespace std; 28 28 29 /**30 * cleans up a ModelGroup31 32 actually does the same as the delete Operator, but does not delete the predecessing group33 */34 void ModelGroup::cleanup()35 {36 PRINTF(5)("Cleaning up group\n");37 if (this->firstFace)38 delete this->firstFace;39 this->firstFace = NULL;40 if (this->next)41 this->next->cleanup();42 }43 44 45 29 ///////////// 46 30 /// MODEL /// … … 60 44 this->finalized = false; 61 45 // setting the start group; 62 this->currentGroup = this->firstGroup = new ModelGroup;63 this->groupCount = 0;64 this->vertexCount = 0;65 this->normalCount = 0;66 this->texCoordCount = 0;67 this->faceCount = 0;68 this->triangleCount = 0;69 this->triangles = NULL;70 this->pModelInfo = NULL;71 46 72 47 this->scaleFactor = 1;
Note: See TracChangeset
for help on using the changeset viewer.