aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authordahlia2009-12-15 19:12:24 -0800
committerdahlia2009-12-15 19:12:24 -0800
commit9485f17bf91632b566e884f8058adf7b7fe3533a (patch)
tree7209332f67885c918fb5b05208bdda73af644bb3 /OpenSim/Region/ScriptEngine/Shared
parentremove OpenSim.GridServer.ini.example that has been folded into ROBUST (diff)
downloadopensim-SC_OLD-9485f17bf91632b566e884f8058adf7b7fe3533a.zip
opensim-SC_OLD-9485f17bf91632b566e884f8058adf7b7fe3533a.tar.gz
opensim-SC_OLD-9485f17bf91632b566e884f8058adf7b7fe3533a.tar.bz2
opensim-SC_OLD-9485f17bf91632b566e884f8058adf7b7fe3533a.tar.xz
random drive-by minor math optimization. No need for concern, bitshed was within acceptable limits
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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 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;