diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/BulletS/BSDynamics.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/BulletS/BSDynamics.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSDynamics.cs b/OpenSim/Region/PhysicsModules/BulletS/BSDynamics.cs index 313c961..c4ccdbe 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSDynamics.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSDynamics.cs | |||
@@ -125,8 +125,8 @@ namespace OpenSim.Region.PhysicsModule.BulletS | |||
125 | 125 | ||
126 | // Just some recomputed constants: | 126 | // Just some recomputed constants: |
127 | #pragma warning disable 414 | 127 | #pragma warning disable 414 |
128 | static readonly float TwoPI = ((float)Math.PI) * 2f; | 128 | static readonly float TwoPI = ((float)Math.PI) * 2f; |
129 | static readonly float FourPI = ((float)Math.PI) * 4f; | 129 | static readonly float FourPI = ((float)Math.PI) * 4f; |
130 | static readonly float PIOverFour = ((float)Math.PI) / 4f; | 130 | static readonly float PIOverFour = ((float)Math.PI) / 4f; |
131 | static readonly float PIOverTwo = ((float)Math.PI) / 2f; | 131 | static readonly float PIOverTwo = ((float)Math.PI) / 2f; |
132 | #pragma warning restore 414 | 132 | #pragma warning restore 414 |
@@ -1595,7 +1595,7 @@ namespace OpenSim.Region.PhysicsModule.BulletS | |||
1595 | // in that direction. | 1595 | // in that direction. |
1596 | // TODO: implement reference frame. | 1596 | // TODO: implement reference frame. |
1597 | public void ComputeAngularDeflection() | 1597 | public void ComputeAngularDeflection() |
1598 | { | 1598 | { |
1599 | 1599 | ||
1600 | if (BSParam.VehicleEnableAngularDeflection && m_angularDeflectionEfficiency != 0 && VehicleForwardSpeed > 0.2) | 1600 | if (BSParam.VehicleEnableAngularDeflection && m_angularDeflectionEfficiency != 0 && VehicleForwardSpeed > 0.2) |
1601 | { | 1601 | { |