fix the comment about return value of osAngleBetween() its 0 to PI
parent
e031d79d48
commit
80c7ffeb29
|
@ -4825,7 +4825,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
return LSL_Vector.MagSquare(a - b);
|
return LSL_Vector.MagSquare(a - b);
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns the angle between 2 vectors -pi to pi
|
// returns the angle between 2 vectors 0 to pi
|
||||||
public LSL_Float osAngleBetween(LSL_Vector a, LSL_Vector b)
|
public LSL_Float osAngleBetween(LSL_Vector a, LSL_Vector b)
|
||||||
{
|
{
|
||||||
double dot = LSL_Vector.Dot(a,b);
|
double dot = LSL_Vector.Dot(a,b);
|
||||||
|
|
Loading…
Reference in New Issue