diff options
author | Jeff Ames | 2008-09-21 02:41:22 +0000 |
---|---|---|
committer | Jeff Ames | 2008-09-21 02:41:22 +0000 |
commit | c8349e21c43b1232aa923783a39cca224460551a (patch) | |
tree | 883f756507ea9984f5e7d56a4aa507d0640b57ee /OpenSim/Region/ScriptEngine/Common | |
parent | Fix an exception in new ScriptEngine loader where a region would (diff) | |
download | opensim-SC-c8349e21c43b1232aa923783a39cca224460551a.zip opensim-SC-c8349e21c43b1232aa923783a39cca224460551a.tar.gz opensim-SC-c8349e21c43b1232aa923783a39cca224460551a.tar.bz2 opensim-SC-c8349e21c43b1232aa923783a39cca224460551a.tar.xz |
Update svn properties, minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 374e401..679b9b8 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -567,7 +567,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
567 | double z = axis.z * s; | 567 | double z = axis.z * s; |
568 | double w = Math.Cos(angle / 2); | 568 | double w = Math.Cos(angle / 2); |
569 | 569 | ||
570 | if(Double.IsNaN(x) || Double.IsNaN(y) || Double.IsNaN(z) || Double.IsNaN(w)) | 570 | if (Double.IsNaN(x) || Double.IsNaN(y) || Double.IsNaN(z) || Double.IsNaN(w)) |
571 | return new LSL_Types.Quaternion(0.0f, 0.0f, 0.0f, 1.0f); | 571 | return new LSL_Types.Quaternion(0.0f, 0.0f, 0.0f, 1.0f); |
572 | 572 | ||
573 | return new LSL_Types.Quaternion((float)x, (float)y, (float)z, (float)w); | 573 | return new LSL_Types.Quaternion((float)x, (float)y, (float)z, (float)w); |