Changeset 4746 in orxonox.OLD for orxonox/trunk/src/lib/graphics/importer/model.cc
- Timestamp:
- Jul 1, 2005, 12:48:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/model.cc
r4677 r4746 113 113 actually does the same as the delete Operator, but does not delete the predecessing group 114 114 */ 115 void ModelGroup::cleanup( void)115 void ModelGroup::cleanup() 116 116 { 117 117 PRINTF(5)("Cleaning up group\n"); … … 164 164 Looks if any from model allocated space is still in use, and if so deleted it. 165 165 */ 166 Model::~Model( void)166 Model::~Model() 167 167 { 168 168 PRINTF(4)("Deleting Model "); … … 198 198 \brief Finalizes an Object. This can be done outside of the Class. 199 199 */ 200 void Model::finalize( void)200 void Model::finalize() 201 201 { 202 202 // this creates the display List. … … 218 218 It does this by just calling the Lists that must have been created earlier. 219 219 */ 220 void Model::draw ( void) const220 void Model::draw () const 221 221 { 222 222 PRINTF(4)("drawing the 3D-Models\n"); … … 292 292 \brief deletes all the arrays 293 293 */ 294 bool Model::deleteArrays( void)294 bool Model::deleteArrays() 295 295 { 296 296 if (this->vertices) … … 310 310 This funcion is needed, to delete all the Lists, and arrays that are no more needed because they are already imported into openGL. This will be applied at the end of the importing Process. 311 311 */ 312 bool Model::cleanup( void)312 bool Model::cleanup() 313 313 { 314 314 PRINTF(4)("cleaning up the 3D-Model to save Memory.\n"); … … 702 702 \brief reads and includes the Faces/Materials into the openGL state Machine 703 703 */ 704 bool Model::importToDisplayList( void)704 bool Model::importToDisplayList() 705 705 { 706 706 // finalize the Arrays … … 794 794 \brief reads and includes the Faces/Materials into the openGL state Machine 795 795 */ 796 bool Model::importToVertexArray( void)796 bool Model::importToVertexArray() 797 797 { 798 798 // finalize the Arrays … … 857 857 This will inject a Cube, because this is the most basic model. 858 858 */ 859 void Model::cubeModel( void)859 void Model::cubeModel() 860 860 { 861 861 this->addVertex (-0.5, -0.5, 0.5);
Note: See TracChangeset
for help on using the changeset viewer.