diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-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); |