Changeset 6180 in orxonox.OLD for branches/christmas_branche/src/lib/graphics/importer/md2Model.cc
- Timestamp:
- Dec 20, 2005, 3:21:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/lib/graphics/importer/md2Model.cc
r6175 r6180 38 38 //! again one of these strange id software parts 39 39 static float *shadeDots = MD2Model::anormsDots[0]; 40 41 42 static sVec3D verticesList[MD2_MAX_VERTICES]; 43 40 44 41 45 //! the angle under which the model is viewd, used internaly … … 108 112 saving of data anyway 109 113 */ 110 void MD2Model::interpolate( sVec3D* verticesList)114 void MD2Model::interpolate(/*sVec3D* verticesList*/) 111 115 { 112 116 sVec3D* currVec; … … 149 153 150 154 151 static sVec3D verticesList[MD2_MAX_VERTICES]; /* performance: created only once in a lifetime */ 155 152 156 153 157 /** … … 159 163 this->animationState.localTime += time; 160 164 161 if( likely(this->animationState.localTime > 0.0)) 162 this->animate(); 163 165 this->animate(); 164 166 this->processLighting(); 165 this->interpolate( verticesList);167 this->interpolate(/*verticesList*/); 166 168 } 167 169 … … 192 194 glEnable(GL_CULL_FACE); 193 195 glCullFace(GL_BACK); 194 195 196 196 197 this->data->material->select();
Note: See TracChangeset
for help on using the changeset viewer.