more macro --> BLI math lib, mainly replace VECCOPY in render and blenkernel.
This commit is contained in:
@@ -162,8 +162,8 @@ void game_blend_poses(bPose *dst, bPose *src, float srcweight/*, short mode*/)
|
||||
if (schan->rotmode == ROT_MODE_QUAT) {
|
||||
float dquat[4], squat[4];
|
||||
|
||||
QUATCOPY(dquat, dchan->quat);
|
||||
QUATCOPY(squat, schan->quat);
|
||||
copy_qt_qt(dquat, dchan->quat);
|
||||
copy_qt_qt(squat, schan->quat);
|
||||
if (mode==ACTSTRIPMODE_BLEND)
|
||||
interp_qt_qtqt(dchan->quat, dquat, squat, srcweight);
|
||||
else {
|
||||
|
Reference in New Issue
Block a user