diff options
author | Jeff Ames | 2009-06-10 04:28:56 +0000 |
---|---|---|
committer | Jeff Ames | 2009-06-10 04:28:56 +0000 |
commit | a23d64dec1cbf88abc3c7e84664a683dee534e4a (patch) | |
tree | 7e85403f29839775209481ba7f6ee55aac56f209 /OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |
parent | Letting the Flotsam cache be enabled even when [AssetCache] section is missin... (diff) | |
download | opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.zip opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.gz opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.bz2 opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index e6f45c8..d8d3b68 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -2593,7 +2593,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2593 | if ((Math.Abs(m_lastposition.X - l_position.X) < 0.02) | 2593 | if ((Math.Abs(m_lastposition.X - l_position.X) < 0.02) |
2594 | && (Math.Abs(m_lastposition.Y - l_position.Y) < 0.02) | 2594 | && (Math.Abs(m_lastposition.Y - l_position.Y) < 0.02) |
2595 | && (Math.Abs(m_lastposition.Z - l_position.Z) < 0.02) | 2595 | && (Math.Abs(m_lastposition.Z - l_position.Z) < 0.02) |
2596 | && (1.0 - Math.Abs(Quaternion.Dot(m_lastorientation, l_orientation)) < 0.01 )) | 2596 | && (1.0 - Math.Abs(Quaternion.Dot(m_lastorientation, l_orientation)) < 0.01)) |
2597 | { | 2597 | { |
2598 | _zeroFlag = true; | 2598 | _zeroFlag = true; |
2599 | m_throttleUpdates = false; | 2599 | m_throttleUpdates = false; |
@@ -2981,7 +2981,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2981 | Matrix4 transposeMatrix = new Matrix4(); | 2981 | Matrix4 transposeMatrix = new Matrix4(); |
2982 | for (int i = 0; i < 4; i++) | 2982 | for (int i = 0; i < 4; i++) |
2983 | for (int j = 0; j < 4; j++) | 2983 | for (int j = 0; j < 4; j++) |
2984 | Matrix4SetValue( ref transposeMatrix, i, j, pMat[j, i]); | 2984 | Matrix4SetValue(ref transposeMatrix, i, j, pMat[j, i]); |
2985 | return transposeMatrix; | 2985 | return transposeMatrix; |
2986 | } | 2986 | } |
2987 | 2987 | ||