Changeset 9827 in orxonox.OLD
- Timestamp:
- Sep 26, 2006, 1:15:22 AM (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
r9824 r9827 95 95 } 96 96 97 MD2Model::MD2Model(const MD2Model& model) 98 : data(model.data) 99 { 100 this->init(); 101 this->rebuildInfo(); 102 } 103 97 104 MD2Model& MD2Model::operator=(const MD2Model& md2model) 98 105 { 99 106 this->data = md2model.data; 100 rebuildInfo();107 this->rebuildInfo(); 101 108 return *this; 102 109 } … … 133 140 { 134 141 this->data = MD2Data::Pointer(new MD2Data(modelFileName, skinFileName, scale)); 142 this->rebuildInfo(); 135 143 } 136 144 -
branches/new_class_id/src/lib/graphics/importer/md2/md2Model.h
r9826 r9827 159 159 MD2Model(); 160 160 MD2Model(const std::string& modelFileName, const std::string& skinFileName = "", float scale = 1.0f); 161 MD2Model(const MD2Model& model); 161 162 virtual ~MD2Model(); 162 163
Note: See TracChangeset
for help on using the changeset viewer.