mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
temporarily revert llanglebetween patch until unit test can be updated - affects Mantis #3007
This commit is contained in:
@@ -4278,8 +4278,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
double angle = Math.Acos(a.x * b.x + a.y * b.y + a.z * b.z + a.s * b.s) * 2;
|
||||
if (angle < 0) angle = -angle;
|
||||
if (angle > Math.PI) return (Math.PI * 2 - angle);
|
||||
//if (angle < 0) angle = -angle;
|
||||
//if (angle > Math.PI) return (Math.PI * 2 - angle);
|
||||
return angle;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user