Changeset 563
- Timestamp:
- 04/17/08 17:27:09 (9 months ago)
- Files:
-
- branches/morph-targets/libx42.net/Pose.cpp (modified) (1 diff)
- branches/morph-targets/libx42/include/x42.h (modified) (1 diff)
- branches/morph-targets/libx42/pose.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/morph-targets/libx42.net/Pose.cpp
r468 r563 122 122 123 123 tmp = x42_GetAnimBoneMatrices( boneMats, owner->m, animLerp, 124 owner->Opts->opts );124 NULL, owner->Opts->opts ); 125 125 if( tmp != boneMats ) 126 126 throw gcnew Exception( "Failed to build pose." ); branches/morph-targets/libx42/include/x42.h
r559 r563 435 435 436 436 X42_EXPORT affine_t* X42_CALL x42_GetAnimBoneMatrices( void *out_buffer, const x42data_t *x42, 437 const x42animLerp_t *lerp, x42opts_t *opts );437 const x42animLerp_t *lerp, const affine_t *rootMatrix, x42opts_t *opts ); 438 438 X42_EXPORT affine_t* X42_CALL x42_GetAnimTagMatrices( void *out_buffer, const x42data_t *x42, 439 439 const affine_t *boneMats, x42opts_t *opts ); branches/morph-targets/libx42/pose.c
r468 r563 515 515 516 516 X42_EXPORT affine_t* X42_CALL x42_GetAnimBoneMatrices( void *out_buffer, const x42data_t *x42, 517 const x42animLerp_t *lerp, x42opts_t *opts )517 const x42animLerp_t *lerp, const affine_t *rootMatrix, x42opts_t *opts ) 518 518 { 519 519 uint i; … … 583 583 if( b->parentIdx != X42_MODEL_BONE ) 584 584 affine_mul( ret + i, ret + b->parentIdx, ret + i ); 585 else if( rootMatrix ) 586 affine_mul( ret + i, rootMatrix, ret + i ); 585 587 } 586 588
