diff options
author | Adam Frisby | 2008-04-21 07:09:17 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-21 07:09:17 +0000 |
commit | fef3b3689492dea63693c964bcdbec9f5137eb5e (patch) | |
tree | 7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |
parent | * Terrain Module code has been reformatted to comply with guidelines. (diff) | |
download | opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2 opensim-SC_OLD-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz |
* Optimised using statements and namespace references across entire project (this took a while to run).
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 81126b6..042042c 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -121,7 +121,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
121 | _acceleration = new PhysicsVector(); | 121 | _acceleration = new PhysicsVector(); |
122 | _parent_scene = parent_scene; | 122 | _parent_scene = parent_scene; |
123 | 123 | ||
124 | if (System.Environment.OSVersion.Platform == PlatformID.Unix) | 124 | if (Environment.OSVersion.Platform == PlatformID.Unix) |
125 | { | 125 | { |
126 | m_tensor = 2000000f; | 126 | m_tensor = 2000000f; |
127 | } | 127 | } |
@@ -413,7 +413,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
413 | private void AvatarGeomAndBodyCreation(float npositionX, float npositionY, float npositionZ, float tensor) | 413 | private void AvatarGeomAndBodyCreation(float npositionX, float npositionY, float npositionZ, float tensor) |
414 | { | 414 | { |
415 | 415 | ||
416 | if (System.Environment.OSVersion.Platform == PlatformID.Unix) | 416 | if (Environment.OSVersion.Platform == PlatformID.Unix) |
417 | { | 417 | { |
418 | m_tensor = 2000000f; | 418 | m_tensor = 2000000f; |
419 | } | 419 | } |
@@ -641,7 +641,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
641 | 641 | ||
642 | // If the PID Controller isn't active then we set our force | 642 | // If the PID Controller isn't active then we set our force |
643 | // calculating base velocity to the current position | 643 | // calculating base velocity to the current position |
644 | if (System.Environment.OSVersion.Platform == PlatformID.Unix) | 644 | if (Environment.OSVersion.Platform == PlatformID.Unix) |
645 | { | 645 | { |
646 | PID_D = 3200.0f; | 646 | PID_D = 3200.0f; |
647 | PID_P = 1400.0f; | 647 | PID_P = 1400.0f; |