Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 20, 2005, 3:21:19 AM (18 years ago)
Author:
patrick
Message:

christmas: cleaned up the model package

File:
1 edited

Legend:

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

    r6175 r6180  
    3838//! again one of these strange id software parts
    3939static float *shadeDots = MD2Model::anormsDots[0];
     40
     41
     42static sVec3D verticesList[MD2_MAX_VERTICES];
     43
    4044
    4145//! the angle under which the model is viewd, used internaly
     
    108112   saving of data anyway
    109113*/
    110 void MD2Model::interpolate(sVec3D* verticesList)
     114void MD2Model::interpolate(/*sVec3D* verticesList*/)
    111115{
    112116  sVec3D* currVec;
     
    149153
    150154
    151 static sVec3D verticesList[MD2_MAX_VERTICES]; /* performance: created only once in a lifetime */
     155
    152156
    153157/**
     
    159163  this->animationState.localTime += time;
    160164
    161   if( likely(this->animationState.localTime > 0.0))
    162     this->animate();
    163 
     165  this->animate();
    164166  this->processLighting();
    165   this->interpolate(verticesList);
     167  this->interpolate(/*verticesList*/);
    166168}
    167169
     
    192194  glEnable(GL_CULL_FACE);
    193195  glCullFace(GL_BACK);
    194 
    195196
    196197  this->data->material->select();
Note: See TracChangeset for help on using the changeset viewer.