the parameters for llAtan2 were inverted before passing to Math.

Thanks to Rob Smart for pointing this out.
0.6.3-post-fixes
Sean Dague 2009-02-07 13:16:27 +00:00
parent 54c6a920ba
commit 6bd2979486
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_Float llAtan2(double x, double y)
{
m_host.AddScriptLPS(1);
return (double)Math.Atan2(y, x);
return (double)Math.Atan2(x, y);
}
public LSL_Float llSqrt(double f)