diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
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 fe051e6..0f7d039 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4277,8 +4277,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4277 | m_host.AddScriptLPS(1); | 4277 | m_host.AddScriptLPS(1); |
4278 | 4278 | ||
4279 | double angle = Math.Acos(a.x * b.x + a.y * b.y + a.z * b.z + a.s * b.s) * 2; | 4279 | double angle = Math.Acos(a.x * b.x + a.y * b.y + a.z * b.z + a.s * b.s) * 2; |
4280 | //if (angle < 0) angle = -angle; | 4280 | if (angle < 0) angle = -angle; |
4281 | //if (angle > Math.PI) return (Math.PI * 2 - angle); | 4281 | if (angle > Math.PI) return (Math.PI * 2 - angle); |
4282 | return angle; | 4282 | return angle; |
4283 | } | 4283 | } |
4284 | 4284 | ||