temporarily revert llanglebetween patch until unit test can be updated - affects Mantis #3007

0.6.5-rc1
Dahlia Trimble 2009-04-07 17:29:55 +00:00
parent e7a051d2be
commit ea5b120006
1 changed files with 2 additions and 2 deletions

View File

@ -4278,8 +4278,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
m_host.AddScriptLPS(1); 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; 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 < 0) angle = -angle;
if (angle > Math.PI) return (Math.PI * 2 - angle); //if (angle > Math.PI) return (Math.PI * 2 - angle);
return angle; return angle;
} }