aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorDahlia Trimble2009-04-07 17:29:55 +0000
committerDahlia Trimble2009-04-07 17:29:55 +0000
commitea5b120006f3b8b8ffd4d3562e180e5a8de49709 (patch)
tree24b328632ce26b2979aae5e081c1193529142b6b /OpenSim/Region/ScriptEngine/Shared
parentremove defective test criteria from unit test for llAngleBetween (diff)
downloadopensim-SC_OLD-ea5b120006f3b8b8ffd4d3562e180e5a8de49709.zip
opensim-SC_OLD-ea5b120006f3b8b8ffd4d3562e180e5a8de49709.tar.gz
opensim-SC_OLD-ea5b120006f3b8b8ffd4d3562e180e5a8de49709.tar.bz2
opensim-SC_OLD-ea5b120006f3b8b8ffd4d3562e180e5a8de49709.tar.xz
temporarily revert llanglebetween patch until unit test can be updated - affects Mantis #3007
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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