Changeset 410 for trunk/src/formats/assimp_loader.cc
- Timestamp:
- 07/08/15 17:33:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/formats/assimp_loader.cc
r406 r410 50 50 }; 51 51 52 struct assimp_key_p { float time; vec3 position; };52 struct assimp_key_p { float time; vec3 translation; }; 53 53 struct assimp_key_r { float time; quat rotation; }; 54 54 struct assimp_key_s { float time; vec3 scale; }; … … 430 430 for ( unsigned np = 0; np < node->mNumPositionKeys; ++np ) 431 431 { 432 pchannel[np].time = static_cast<float>( node->mPositionKeys[np].mTime );433 pchannel[np]. position = assimp_vec3_cast(node->mPositionKeys[np].mValue);432 pchannel[np].time = static_cast<float>( node->mPositionKeys[np].mTime ); 433 pchannel[np].translation = assimp_vec3_cast(node->mPositionKeys[np].mValue); 434 434 } 435 435 for ( unsigned np = 0; np < node->mNumRotationKeys; ++np )
Note: See TracChangeset
for help on using the changeset viewer.