diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
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 9a905f1..7f71d09 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4412,8 +4412,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4412 | 4412 | ||
4413 | double x, y, z, s, t; | 4413 | double x, y, z, s, t; |
4414 | 4414 | ||
4415 | s = Math.Cos(angle / 2); | 4415 | s = Math.Cos(angle * 0.5); |
4416 | t = Math.Sin(angle / 2); // temp value to avoid 2 more sin() calcs | 4416 | t = Math.Sin(angle * 0.5); // temp value to avoid 2 more sin() calcs |
4417 | x = axis.x * t; | 4417 | x = axis.x * t; |
4418 | y = axis.y * t; | 4418 | y = axis.y * t; |
4419 | z = axis.z * t; | 4419 | z = axis.z * t; |