diff options
author | Robert Adams | 2015-01-04 13:52:14 -0800 |
---|---|---|
committer | Robert Adams | 2015-01-04 13:52:14 -0800 |
commit | a617159f8b7aeb79cc484126f081f53e1b5f1627 (patch) | |
tree | faaa755dc0ec95f77e00bf4d575b1a34c999d492 /OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |
parent | Removing the Wifi config example from Robust.HG.ini.example, because it is no... (diff) | |
download | opensim-SC-a617159f8b7aeb79cc484126f081f53e1b5f1627.zip opensim-SC-a617159f8b7aeb79cc484126f081f53e1b5f1627.tar.gz opensim-SC-a617159f8b7aeb79cc484126f081f53e1b5f1627.tar.bz2 opensim-SC-a617159f8b7aeb79cc484126f081f53e1b5f1627.tar.xz |
BulletSim: correct some of the debugging input and output of PrimitiveBaseShape.
Whoever defined that structure was really into esoteric coding.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs index 238fcc2..f8e8f57 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |||
@@ -953,8 +953,10 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters | |||
953 | float pathShearY = pbs.PathShearY < 128 ? (float)pbs.PathShearY * 0.01f : (float)(pbs.PathShearY - 256) * 0.01f; | 953 | float pathShearY = pbs.PathShearY < 128 ? (float)pbs.PathShearY * 0.01f : (float)(pbs.PathShearY - 256) * 0.01f; |
954 | float pathBegin = (float)pbs.PathBegin * 2.0e-5f; | 954 | float pathBegin = (float)pbs.PathBegin * 2.0e-5f; |
955 | float pathEnd = 1.0f - (float)pbs.PathEnd * 2.0e-5f; | 955 | float pathEnd = 1.0f - (float)pbs.PathEnd * 2.0e-5f; |
956 | float pathScaleX = (float)(pbs.PathScaleX - 100) * 0.01f; | 956 | float pathScaleX = (float)(200 - pbs.PathScaleX) * 0.01f; |
957 | float pathScaleY = (float)(pbs.PathScaleY - 100) * 0.01f; | 957 | float pathScaleY = (float)(200 - pbs.PathScaleY) * 0.01f; |
958 | float pathTaperX = pbs.PathTaperX * 0.01f; | ||
959 | float pathTaperY = pbs.PathTaperY * 0.01f; | ||
958 | 960 | ||
959 | float profileBegin = (float)pbs.ProfileBegin * 2.0e-5f; | 961 | float profileBegin = (float)pbs.ProfileBegin * 2.0e-5f; |
960 | float profileEnd = 1.0f - (float)pbs.ProfileEnd * 2.0e-5f; | 962 | float profileEnd = 1.0f - (float)pbs.ProfileEnd * 2.0e-5f; |