Changeset 8661 in orxonox.OLD for branches/bsp_model/src/lib
- Timestamp:
- Jun 21, 2006, 4:09:58 AM (18 years ago)
- Location:
- branches/bsp_model/src/lib/graphics/importer/md3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc
r8660 r8661 83 83 this->tmpNormal[i] = new MD3Normal[this->meshes[i]->header->vertexNum]; 84 84 85 this->tmpMatrix = new float*[this->header->tagNum]; 86 for( int i = 0; i < this->header->tagNum; i++) 85 // there are at most 4 different models and submodels 86 this->tmpMatrix = new float*[4]; 87 for( int i = 0; i < 4; i++) 87 88 this->tmpMatrix[i] = new float[16]; 88 89 -
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.cc
r8660 r8661 215 215 { 216 216 //we need to interpolate 217 //MD3Tag* nextFrameTag = data->boneFrames[data->animationState.nextFrame]->tags[child->parentTagIndex];218 //this->interpolateTransformation(child, currFrameTag, nextFrameTag, data->animationState.interpolationFraction, i);217 MD3Tag* nextFrameTag = data->boneFrames[data->animationState.nextFrame]->tags[child->parentTagIndex]; 218 this->interpolateTransformation(child, currFrameTag, nextFrameTag, data->animationState.interpolationFraction, i); 219 219 } 220 220 else
Note: See TracChangeset
for help on using the changeset viewer.