mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
normalize quaternion.Slerp outputs
This commit is contained in:
@@ -5202,6 +5202,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