aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
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 0efdd77..d3543ad 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -454,11 +454,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
454 454
455 // Utility function for llRot2Euler 455 // Utility function for llRot2Euler
456 456
457 // normalize an angle between 0 - 2*PI (0 and 360 degrees) 457 // normalize an angle between -PI and PI (-180 to +180 degrees)
458 private double NormalizeAngle(double angle) 458 private double NormalizeAngle(double angle)
459 { 459 {
460 angle = angle % (Math.PI * 2); 460 angle = angle % (Math.PI * 2);
461 if (angle < 0) angle = angle + Math.PI * 2; 461 // if (angle < 0) angle = angle + Math.PI * 2;
462 return angle; 462 return angle;
463 } 463 }
464 464