mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
normalize quaternion.Slerp outputs
Signed-off-by: Melanie <melanie@t-data.com>
This commit is contained in:
@@ -4584,6 +4584,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
|
||||
Quaternion rot = Quaternion.Slerp(RotationOffset,APIDTarget,1.0f/(float)m_APIDIterations);
|
||||
rot.Normalize();
|
||||
UpdateRotation(rot);
|
||||
|
||||
m_APIDIterations--;
|
||||
|
||||
Reference in New Issue
Block a user