aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 013ea27..1a75665 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4278,8 +4278,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4278 m_host.AddScriptLPS(1); 4278 m_host.AddScriptLPS(1);
4279 4279
4280 double angle = Math.Acos(a.x * b.x + a.y * b.y + a.z * b.z + a.s * b.s) * 2; 4280 double angle = Math.Acos(a.x * b.x + a.y * b.y + a.z * b.z + a.s * b.s) * 2;
4281 if (angle < 0) angle = -angle; 4281 //if (angle < 0) angle = -angle;
4282 if (angle > Math.PI) return (Math.PI * 2 - angle); 4282 //if (angle > Math.PI) return (Math.PI * 2 - angle);
4283 return angle; 4283 return angle;
4284 } 4284 }
4285 4285