diff options
author | CasperW | 2009-12-21 13:29:48 +0100 |
---|---|---|
committer | CasperW | 2009-12-21 13:29:48 +0100 |
commit | d8d6e8a30415197eb55c59172abfb890ec7a46bd (patch) | |
tree | db937d6c6e3816932781e7be90c318408d117a78 /OpenSim/Region/ScriptEngine/Shared | |
parent | Fixed a nasty crash in StandUp() that occurred when the part got killed with ... (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC-d8d6e8a30415197eb55c59172abfb890ec7a46bd.zip opensim-SC-d8d6e8a30415197eb55c59172abfb890ec7a46bd.tar.gz opensim-SC-d8d6e8a30415197eb55c59172abfb890ec7a46bd.tar.bz2 opensim-SC-d8d6e8a30415197eb55c59172abfb890ec7a46bd.tar.xz |
Merge branch 'master' into casper
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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 e694f15..2da498a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4476,8 +4476,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4476 | 4476 | ||
4477 | double x, y, z, s, t; | 4477 | double x, y, z, s, t; |
4478 | 4478 | ||
4479 | s = Math.Cos(angle / 2); | 4479 | s = Math.Cos(angle * 0.5); |
4480 | t = Math.Sin(angle / 2); // temp value to avoid 2 more sin() calcs | 4480 | t = Math.Sin(angle * 0.5); // temp value to avoid 2 more sin() calcs |
4481 | x = axis.x * t; | 4481 | x = axis.x * t; |
4482 | y = axis.y * t; | 4482 | y = axis.y * t; |
4483 | z = axis.z * t; | 4483 | z = axis.z * t; |