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/Shared/Api/Implementation/LSL_Api.cs | |
parent | Fix an exception in new ScriptEngine loader where a region would (diff) | |
download | opensim-SC_OLD-c8349e21c43b1232aa923783a39cca224460551a.zip opensim-SC_OLD-c8349e21c43b1232aa923783a39cca224460551a.tar.gz opensim-SC_OLD-c8349e21c43b1232aa923783a39cca224460551a.tar.bz2 opensim-SC_OLD-c8349e21c43b1232aa923783a39cca224460551a.tar.xz |
Update svn properties, minor formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index c806697..d2cfdca 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -586,7 +586,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
586 | double z = axis.z * s; | 586 | double z = axis.z * s; |
587 | double w = Math.Cos(angle / 2); | 587 | double w = Math.Cos(angle / 2); |
588 | 588 | ||
589 | if(Double.IsNaN(x) || Double.IsNaN(y) || Double.IsNaN(z) || Double.IsNaN(w)) | 589 | if (Double.IsNaN(x) || Double.IsNaN(y) || Double.IsNaN(z) || Double.IsNaN(w)) |
590 | return new LSL_Types.Quaternion(0.0f, 0.0f, 0.0f, 1.0f); | 590 | return new LSL_Types.Quaternion(0.0f, 0.0f, 0.0f, 1.0f); |
591 | 591 | ||
592 | return new LSL_Types.Quaternion((float)x, (float)y, (float)z, (float)w); | 592 | return new LSL_Types.Quaternion((float)x, (float)y, (float)z, (float)w); |