Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2005, 5:17:21 PM (19 years ago)
Author:
patrick
Message:

orxonox/branches/md2_loader: started cleaning up: put model and md2model together

File:
1 edited

Legend:

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

    r4163 r4168  
    119119  void drawModel(float time);
    120120  void drawFrame(int frame);
    121  
    122   void draw(t3DModel *pModel);
     121  void draw();
    123122 
    124123  void setAnim(int type);
     
    127126  void tick(float dtS);
    128127
    129   void animate(/*float time*/ t3DModel *pModel);
     128  void animate(/*float time*/);
    130129private:
    131130  void processLightning();
     
    134133  float getCurrentTime(t3DModel *pModel, int nextFrame);
    135134
    136   float dtS;
     135  t3DModel* model;
    137136  float localTime;
    138137};
     
    145144  virtual ~MD2Loader();
    146145 
    147   bool importMD2(t3DModel *pModel, char *fileName, char *texture);
     146  bool importMD2(t3DModel *pModel, char *fileName, char *texture = NULL);
    148147
    149148private:
Note: See TracChangeset for help on using the changeset viewer.