diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 0825bf8..c14d454 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -344,7 +344,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
344 | public LSL_Float llAtan2(double x, double y) | 344 | public LSL_Float llAtan2(double x, double y) |
345 | { | 345 | { |
346 | m_host.AddScriptLPS(1); | 346 | m_host.AddScriptLPS(1); |
347 | return (double)Math.Atan2(y, x); | 347 | return (double)Math.Atan2(x, y); |
348 | } | 348 | } |
349 | 349 | ||
350 | public LSL_Float llSqrt(double f) | 350 | public LSL_Float llSqrt(double f) |