aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
diff options
context:
space:
mode:
authorRobert Adams2013-01-01 20:26:31 -0800
committerRobert Adams2013-01-04 17:06:48 -0800
commit2eda385f5e72e165150d0925c56b1188c77cafe8 (patch)
tree1708456178efde631dc397874880aa0d7d2bfb16 /OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
parentminor: Rename BUILDING.txt to BUILDING.md in distbin distribution nant target (diff)
downloadopensim-SC_OLD-2eda385f5e72e165150d0925c56b1188c77cafe8.zip
opensim-SC_OLD-2eda385f5e72e165150d0925c56b1188c77cafe8.tar.gz
opensim-SC_OLD-2eda385f5e72e165150d0925c56b1188c77cafe8.tar.bz2
opensim-SC_OLD-2eda385f5e72e165150d0925c56b1188c77cafe8.tar.xz
BulletSim: add ResetBroadphasePool and ResetConstraintSolver diagnostic
functions. If values set from console, the functions are called. Looking for why the collision pools fill up with unnecessary stuff.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs16
1 files changed, 10 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
index 8ad78ca..befb076 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
@@ -646,17 +646,21 @@ public abstract float GetMargin(BulletShape shape);
646 646
647// ===================================================================================== 647// =====================================================================================
648// Debugging 648// Debugging
649public abstract void DumpRigidBody(BulletWorld sim, BulletBody collisionObject); 649public virtual void DumpRigidBody(BulletWorld sim, BulletBody collisionObject) { }
650 650
651public abstract void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape); 651public virtual void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape) { }
652 652
653public abstract void DumpConstraint(BulletWorld sim, BulletConstraint constrain); 653public virtual void DumpConstraint(BulletWorld sim, BulletConstraint constrain) { }
654 654
655public abstract void DumpActivationInfo(BulletWorld sim); 655public virtual void DumpActivationInfo(BulletWorld sim) { }
656 656
657public abstract void DumpAllInfo(BulletWorld sim); 657public virtual void DumpAllInfo(BulletWorld sim) { }
658 658
659public abstract void DumpPhysicsStatistics(BulletWorld sim); 659public virtual void DumpPhysicsStatistics(BulletWorld sim) { }
660
661public virtual void ResetBroadphasePool(BulletWorld sim) { }
662
663public virtual void ResetConstraintSolver(BulletWorld sim) { }
660 664
661}; 665};
662} 666}