diff options
author | Justin Clark-Casey (justincc) | 2012-03-20 20:39:33 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-20 20:39:33 +0000 |
commit | 86bd287b5346063edb0f62ceb96ee08c6ee80c18 (patch) | |
tree | 37ef7b7d14b42ee2c15f432a15fcfe36b17dde94 /OpenSim/Region/Physics/OdePlugin/OdeScene.cs | |
parent | refactor: Eliminate unnecessary duplicate avCapsuleTilted (diff) | |
download | opensim-SC-86bd287b5346063edb0f62ceb96ee08c6ee80c18.zip opensim-SC-86bd287b5346063edb0f62ceb96ee08c6ee80c18.tar.gz opensim-SC-86bd287b5346063edb0f62ceb96ee08c6ee80c18.tar.bz2 opensim-SC-86bd287b5346063edb0f62ceb96ee08c6ee80c18.tar.xz |
refactor: precalculate the fixed movement factor for avatar tilting (sqrt(2)) rather than doing it multiple times on every move.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdeScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index 1f8c2ca..842ff91 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs | |||
@@ -185,6 +185,9 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
185 | /// <summary> | 185 | /// <summary> |
186 | /// true = old compatibility mode with leaning capsule; false = new corrected mode | 186 | /// true = old compatibility mode with leaning capsule; false = new corrected mode |
187 | /// </summary> | 187 | /// </summary> |
188 | /// <remarks> | ||
189 | /// Even when set to false, the capsule still tilts but this is done in a different way. | ||
190 | /// </remarks> | ||
188 | public bool IsAvCapsuleTilted { get; private set; } | 191 | public bool IsAvCapsuleTilted { get; private set; } |
189 | 192 | ||
190 | private float avDensity = 80f; | 193 | private float avDensity = 80f; |