Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 6, 2005, 11:46:20 AM (19 years ago)
Author:
patrick
Message:

orxonox/branches/md2_loader: fixed some compile errors, altered some variable names, automake now works and did update Makefile.in :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc

    r4077 r4078  
    1616
    1717#include "md2Model.h"
     18
    1819
    1920using namespace std;
     
    5051/**
    5152   \brief standard deconstructor
    52 
    5353        creates a new model loader
    5454*/
     
    5656{
    5757   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;
    6564}
    6665
    6766/**
    6867   \brief standard deconstructor
    69 
    7068*/
    7169MD2Loader::~MD2Loader()
Note: See TracChangeset for help on using the changeset viewer.