mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
change llAtan2 arguments order to (y,x) to match standard documentation
This commit is contained in:
@@ -833,9 +833,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return Math.Tan(f);
|
||||
}
|
||||
|
||||
public LSL_Float llAtan2(LSL_Float x, LSL_Float y)
|
||||
public LSL_Float llAtan2(LSL_Float y, LSL_Float x)
|
||||
{
|
||||
return Math.Atan2(x, y);
|
||||
return Math.Atan2(y, x);
|
||||
}
|
||||
|
||||
public LSL_Float llSqrt(double f)
|
||||
|
||||
Reference in New Issue
Block a user