diff options
author | UbitUmarov | 2012-10-10 01:37:59 +0100 |
---|---|---|
committer | Melanie | 2012-10-19 01:37:46 +0100 |
commit | 32171708c3a29d2bb989b5638dc7536c6e4ecf3c (patch) | |
tree | 7edfa9397cd24dca730b3f1015b6902563b749be /OpenSim | |
parent | [UNTESTED] core Ode: let broken mesh physical prims collide with land as (diff) | |
download | opensim-SC_OLD-32171708c3a29d2bb989b5638dc7536c6e4ecf3c.zip opensim-SC_OLD-32171708c3a29d2bb989b5638dc7536c6e4ecf3c.tar.gz opensim-SC_OLD-32171708c3a29d2bb989b5638dc7536c6e4ecf3c.tar.bz2 opensim-SC_OLD-32171708c3a29d2bb989b5638dc7536c6e4ecf3c.tar.xz |
normalize quaternion.Slerp outputs
Signed-off-by: Melanie <melanie@t-data.com>
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index da2c069..27ef4c9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4584,6 +4584,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4584 | } | 4584 | } |
4585 | 4585 | ||
4586 | Quaternion rot = Quaternion.Slerp(RotationOffset,APIDTarget,1.0f/(float)m_APIDIterations); | 4586 | Quaternion rot = Quaternion.Slerp(RotationOffset,APIDTarget,1.0f/(float)m_APIDIterations); |
4587 | rot.Normalize(); | ||
4587 | UpdateRotation(rot); | 4588 | UpdateRotation(rot); |
4588 | 4589 | ||
4589 | m_APIDIterations--; | 4590 | m_APIDIterations--; |