Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/armature/pose_slide.c
| Context not available. | |||||
| /* make a copy of the original rotation */ | /* make a copy of the original rotation */ | ||||
| copy_qt_qt(quat_orig, pchan->quat); | copy_qt_qt(quat_orig, pchan->quat); | ||||
| /*normalize quaternion*/ | |||||
| normalize_qt(quat_orig); | |||||
| /* tricky interpolations - blending between original and new */ | /* tricky interpolations - blending between original and new */ | ||||
| interp_qt_qtqt(pchan->quat, quat_orig, quat_interp, 1.0f / 6.0f); | interp_qt_qtqt(pchan->quat, quat_orig, quat_interp, 1.0f / 6.0f); | ||||
| } | } | ||||
| Context not available. | |||||