- Timestamp:
- Jun 21, 2006, 4:12:13 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.cc
r8661 r8662 125 125 void MD3Model::tick(float time) 126 126 { 127 PRINTF(0)("tick\n");128 127 if(this->md3Data == NULL) 129 128 return; … … 132 131 133 132 this->tick(time, this->md3Data); 134 PRINTF(0)("tick finished\n");135 133 } 136 134 … … 165 163 MD3Mesh* mesh = data->meshes[i]; 166 164 167 168 //interpolate mesh frame between the 2 current mesh frames 169 PRINTF(0)(" interpolate from %i, to %i\n", data->animationState.currentFrame, data->animationState.nextFrame); 165 //interpolate mesh frame between the 2 current mesh frames 170 166 if( data->header->boneFrameNum > 1) 171 167 this->interpolateMeshFrame( data, … … 178 174 mesh->meshFrames[data->animationState.currentFrame], 179 175 0.0f, mesh, i); 180 181 182 176 183 177 // draw vertex normals if needed … … 195 189 } 196 190 } 197 198 199 191 } 200 192 … … 256 248 void MD3Model::draw() const 257 249 { 258 PRINTF(0)("draw\n");259 250 //draw current bone frame 260 251 this->draw(this->md3Data); 261 PRINTF(0)("draw finished\n");262 252 } 263 253 … … 669 659 670 660 671 PRINTF(0)("anim op: %i\n", data->op);672 661 switch( data->op) { 673 662 … … 696 685 } 697 686 } 698 PRINTF(0)("interpolate fraction: %f, curr frame: %i, fps: %i, time: %f\n", data->animationState.interpolationFraction, data->animationState.currentFrame, data->animation->fps, time);699 687 break; 700 688
Note: See TracChangeset
for help on using the changeset viewer.