aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-09-03 07:09:05 +0100
committerUbitUmarov2016-09-03 07:09:05 +0100
commit16cec3041fcea3ffb8f2fd2f84da0ec690154f6c (patch)
treeb23911d39694a344a87dc48af1428ddb32bd98da /OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
parentConvexDecomposition remove a copy of vertices not needed for ubOde (diff)
downloadopensim-SC_OLD-16cec3041fcea3ffb8f2fd2f84da0ec690154f6c.zip
opensim-SC_OLD-16cec3041fcea3ffb8f2fd2f84da0ec690154f6c.tar.gz
opensim-SC_OLD-16cec3041fcea3ffb8f2fd2f84da0ec690154f6c.tar.bz2
opensim-SC_OLD-16cec3041fcea3ffb8f2fd2f84da0ec690154f6c.tar.xz
<0,0,0,0> is not a rotation
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index d501979..9fb1e2c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -339,7 +339,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
339 y = (float)Quat.y; 339 y = (float)Quat.y;
340 z = (float)Quat.z; 340 z = (float)Quat.z;
341 s = (float)Quat.s; 341 s = (float)Quat.s;
342 if (x == 0 && y == 0 && z == 0 && s == 0) 342 if (s == 0 && x == 0 && y == 0 && z == 0)
343 s = 1; 343 s = 1;
344 } 344 }
345 345
@@ -349,7 +349,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
349 y = Y; 349 y = Y;
350 z = Z; 350 z = Z;
351 s = S; 351 s = S;
352 if (x == 0 && y == 0 && z == 0 && s == 0) 352 if (s == 0 && x == 0 && y == 0 && z == 0)
353 s = 1; 353 s = 1;
354 } 354 }
355 355
@@ -368,7 +368,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
368 res = res & Double.TryParse(tmps[1], NumberStyles.Float, Culture.NumberFormatInfo, out y); 368 res = res & Double.TryParse(tmps[1], NumberStyles.Float, Culture.NumberFormatInfo, out y);
369 res = res & Double.TryParse(tmps[2], NumberStyles.Float, Culture.NumberFormatInfo, out z); 369 res = res & Double.TryParse(tmps[2], NumberStyles.Float, Culture.NumberFormatInfo, out z);
370 res = res & Double.TryParse(tmps[3], NumberStyles.Float, Culture.NumberFormatInfo, out s); 370 res = res & Double.TryParse(tmps[3], NumberStyles.Float, Culture.NumberFormatInfo, out s);
371 if (x == 0 && y == 0 && z == 0 && s == 0) 371 if (s == 0 && x == 0 && y == 0 && z == 0)
372 s = 1; 372 s = 1;
373 } 373 }
374 374