diff options
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); |