Changeset 8568 in orxonox.OLD for branches/bsp_model/src/lib
- Timestamp:
- Jun 17, 2006, 3:05:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_model.cc
r8567 r8568 87 87 // get bone frame, interpolate if necessary 88 88 if( data->animationState.interpolationFraction != 0.0 && 89 data->animationState.currentFrame != data->animationState.nextFrame) { 89 data->animationState.currentFrame != data->animationState.nextFrame) 90 { 90 91 //interpolate bone frame 91 92 this->interpolateBoneFrame(data->boneFrames[data->animationState.currentFrame], 92 93 data->boneFrames[data->animationState.nextFrame], 93 94 data->animationState.interpolationFraction); 94 } 95 } 96 95 } 96 } 97 97 98 98 //draw all meshes of current frame of this model … … 310 310 glColor3f(1.0f, 1.0f, 1.0f); 311 311 glBegin( GL_TRIANGLES ); 312 glScalef( 0.7f , 0.7f, 0.7f ); 312 313 313 314 Vector tmpVec1, tmpVec2;
Note: See TracChangeset
for help on using the changeset viewer.