diff options
author | Robert Adams | 2012-10-22 08:23:21 -0700 |
---|---|---|
committer | Robert Adams | 2012-10-22 22:24:44 -0700 |
commit | 65c131c4a362bed347a6240184ce40b9ddeaaae1 (patch) | |
tree | 6bdd686e45de05c7ef1be879b23161e9e9cd24e1 /OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | |
parent | BulletSim: encorporate UBit's suggestion to save a copy of mesh raw data. (diff) | |
download | opensim-SC_OLD-65c131c4a362bed347a6240184ce40b9ddeaaae1.zip opensim-SC_OLD-65c131c4a362bed347a6240184ce40b9ddeaaae1.tar.gz opensim-SC_OLD-65c131c4a362bed347a6240184ce40b9ddeaaae1.tar.bz2 opensim-SC_OLD-65c131c4a362bed347a6240184ce40b9ddeaaae1.tar.xz |
BulletSim: remove trailing spaces to make git happy.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs index ee53d92..8eeeb73 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | |||
@@ -54,7 +54,7 @@ public class BSLinksetConstraints : BSLinkset | |||
54 | BSScene.TaintCallback refreshOperation = delegate() | 54 | BSScene.TaintCallback refreshOperation = delegate() |
55 | { | 55 | { |
56 | RecomputeLinksetConstraintVariables(); | 56 | RecomputeLinksetConstraintVariables(); |
57 | DetailLog("{0},BSLinkset.Refresh,complete,rBody={1}", | 57 | DetailLog("{0},BSLinkset.Refresh,complete,rBody={1}", |
58 | LinksetRoot.LocalID, LinksetRoot.BSBody.ptr.ToString("X")); | 58 | LinksetRoot.LocalID, LinksetRoot.BSBody.ptr.ToString("X")); |
59 | }; | 59 | }; |
60 | if (inTaintTime) | 60 | if (inTaintTime) |
@@ -179,7 +179,7 @@ public class BSLinksetConstraints : BSLinkset | |||
179 | 179 | ||
180 | PhysicsScene.TaintedObject("AddChildToLinkset", delegate() | 180 | PhysicsScene.TaintedObject("AddChildToLinkset", delegate() |
181 | { | 181 | { |
182 | DetailLog("{0},AddChildToLinkset,taint,rID={1},rBody={2},cID={3},cBody={4}", | 182 | DetailLog("{0},AddChildToLinkset,taint,rID={1},rBody={2},cID={3},cBody={4}", |
183 | rootx.LocalID, | 183 | rootx.LocalID, |
184 | rootx.LocalID, rootx.BSBody.ptr.ToString("X"), | 184 | rootx.LocalID, rootx.BSBody.ptr.ToString("X"), |
185 | childx.LocalID, childx.BSBody.ptr.ToString("X")); | 185 | childx.LocalID, childx.BSBody.ptr.ToString("X")); |
@@ -213,7 +213,7 @@ public class BSLinksetConstraints : BSLinkset | |||
213 | BSPhysObject rootx = LinksetRoot; // capture the root and body as of now | 213 | BSPhysObject rootx = LinksetRoot; // capture the root and body as of now |
214 | BSPhysObject childx = child; | 214 | BSPhysObject childx = child; |
215 | 215 | ||
216 | DetailLog("{0},RemoveChildFromLinkset,call,rID={1},rBody={2},cID={3},cBody={4}", | 216 | DetailLog("{0},RemoveChildFromLinkset,call,rID={1},rBody={2},cID={3},cBody={4}", |
217 | childx.LocalID, | 217 | childx.LocalID, |
218 | rootx.LocalID, rootx.BSBody.ptr.ToString("X"), | 218 | rootx.LocalID, rootx.BSBody.ptr.ToString("X"), |
219 | childx.LocalID, childx.BSBody.ptr.ToString("X")); | 219 | childx.LocalID, childx.BSBody.ptr.ToString("X")); |
@@ -378,13 +378,13 @@ public class BSLinksetConstraints : BSLinkset | |||
378 | { | 378 | { |
379 | // If this is a multiple object linkset, set everybody's center of mass to the set's center of mass | 379 | // If this is a multiple object linkset, set everybody's center of mass to the set's center of mass |
380 | OMV.Vector3 centerOfMass = ComputeLinksetCenterOfMass(); | 380 | OMV.Vector3 centerOfMass = ComputeLinksetCenterOfMass(); |
381 | BulletSimAPI.SetCenterOfMassByPosRot2(LinksetRoot.BSBody.ptr, | 381 | BulletSimAPI.SetCenterOfMassByPosRot2(LinksetRoot.BSBody.ptr, |
382 | centerOfMass, OMV.Quaternion.Identity); | 382 | centerOfMass, OMV.Quaternion.Identity); |
383 | DetailLog("{0},BSLinkset.RecomputeLinksetConstraintVariables,setCenterOfMass,COM={1},rBody={2}", | 383 | DetailLog("{0},BSLinkset.RecomputeLinksetConstraintVariables,setCenterOfMass,COM={1},rBody={2}", |
384 | LinksetRoot.LocalID, centerOfMass, LinksetRoot.BSBody.ptr.ToString("X")); | 384 | LinksetRoot.LocalID, centerOfMass, LinksetRoot.BSBody.ptr.ToString("X")); |
385 | foreach (BSPhysObject child in m_taintChildren) | 385 | foreach (BSPhysObject child in m_taintChildren) |
386 | { | 386 | { |
387 | BulletSimAPI.SetCenterOfMassByPosRot2(child.BSBody.ptr, | 387 | BulletSimAPI.SetCenterOfMassByPosRot2(child.BSBody.ptr, |
388 | centerOfMass, OMV.Quaternion.Identity); | 388 | centerOfMass, OMV.Quaternion.Identity); |
389 | } | 389 | } |
390 | 390 | ||