Changeset 9685 in orxonox.OLD for branches/new_class_id/src/lib/graphics/importer/md2
- Timestamp:
- Aug 22, 2006, 1:16:23 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib/graphics/importer/md2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/importer/md2/md2Model.cc
r9406 r9685 22 22 23 23 24 24 NewObjectListDefinition(MD2Model); 25 25 26 26 //! the model anorms … … 78 78 MD2Model::MD2Model(const std::string& modelFileName, const std::string& skinFileName, float scale) 79 79 { 80 this-> setClassID(CL_MD2_MODEL, "MD2Model");80 this->registerObject(this, MD2Model::_objectList); 81 81 /* this creates the data container via ressource manager */ 82 82 if (!modelFileName.empty()) -
branches/new_class_id/src/lib/graphics/importer/md2/md2Model.h
r9235 r9685 149 149 //! This is a MD2 Model class 150 150 class MD2Model : public InteractiveModel { 151 151 NewObjectListDeclaration(MD2Model); 152 152 public: 153 153 MD2Model(const std::string& modelFileName, const std::string& skinFileName = "", float scale = 1.0f);
Note: See TracChangeset
for help on using the changeset viewer.