Changeset 4078 in orxonox.OLD for orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc
- Timestamp:
- May 6, 2005, 11:46:20 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc
r4077 r4078 16 16 17 17 #include "md2Model.h" 18 18 19 19 20 using namespace std; … … 50 51 /** 51 52 \brief standard deconstructor 52 53 53 creates a new model loader 54 54 */ … … 56 56 { 57 57 this->setClassName ("MD2Loader"); 58 // Here we initialize our structures to 0 59 memset(&m_Header, 0, sizeof(tMd2Header)); 60 // Set the pointers to null 61 m_pSkins=NULL; 62 m_pTexCoords=NULL; 63 m_pTriangles=NULL; 64 m_pFrames=NULL; 58 /* initialize all data to initial state */ 59 memset(&this->header, 0, sizeof(tMd2Header)); 60 this->pSkins = NULL; 61 this->pTexCoords = NULL; 62 this->pTriangles = NULL; 63 this->pFrames = NULL; 65 64 } 66 65 67 66 /** 68 67 \brief standard deconstructor 69 70 68 */ 71 69 MD2Loader::~MD2Loader()
Note: See TracChangeset
for help on using the changeset viewer.