Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Ketsji/KX_OrientationInterpolator.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_OrientationInterpolator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/KX_OrientationInterpolator.cpp b/source/gameengine/Ketsji/KX_OrientationInterpolator.cpp
index bcaa1e60e92..16a9441acc7 100644
--- a/source/gameengine/Ketsji/KX_OrientationInterpolator.cpp
+++ b/source/gameengine/Ketsji/KX_OrientationInterpolator.cpp
@@ -45,9 +45,9 @@ void KX_OrientationInterpolator::Execute(float currentTime) const
MT_Scalar si = sinf(eul[0]);
MT_Scalar sj = sinf(eul[1]);
MT_Scalar sh = sinf(eul[2]);
- MT_Scalar cc = ci*ch;
- MT_Scalar cs = ci*sh;
- MT_Scalar sc = si*ch;
+ MT_Scalar cc = ci*ch;
+ MT_Scalar cs = ci*sh;
+ MT_Scalar sc = si*ch;
MT_Scalar ss = si*sh;
m_target.setValue(cj*ch, sj*sc-cs, sj*cc+ss,