diff options
author | Robert Adams | 2012-12-31 19:56:32 -0800 |
---|---|---|
committer | Robert Adams | 2012-12-31 19:57:26 -0800 |
commit | db3b6e892133c096f2c4244a0902b4f9f1a87371 (patch) | |
tree | ee0c13d4ba6d6c29ef492368db57f3e4ce27b190 | |
parent | BulletSim: remove rigid body contruction functions from BSAPITemplate that re... (diff) | |
download | opensim-SC_OLD-db3b6e892133c096f2c4244a0902b4f9f1a87371.zip opensim-SC_OLD-db3b6e892133c096f2c4244a0902b4f9f1a87371.tar.gz opensim-SC_OLD-db3b6e892133c096f2c4244a0902b4f9f1a87371.tar.bz2 opensim-SC_OLD-db3b6e892133c096f2c4244a0902b4f9f1a87371.tar.xz |
BulletSim: remove unused unmanaged memory reference functions from BSAPITemplate.
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSAPIUnman.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSAPIUnman.cs b/OpenSim/Region/Physics/BulletSPlugin/BSAPIUnman.cs index a06f6d0..3975776 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSAPIUnman.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSAPIUnman.cs | |||
@@ -524,6 +524,7 @@ public override void SetTranslation(BulletBody obj, Vector3 position, Quaternion | |||
524 | BSAPICPP.SetTranslation2(obj.ptr, position, rotation); | 524 | BSAPICPP.SetTranslation2(obj.ptr, position, rotation); |
525 | } | 525 | } |
526 | 526 | ||
527 | /* | ||
527 | public override IntPtr GetBroadphaseHandle(BulletBody obj) | 528 | public override IntPtr GetBroadphaseHandle(BulletBody obj) |
528 | { | 529 | { |
529 | return BSAPICPP.GetBroadphaseHandle2(obj.ptr); | 530 | return BSAPICPP.GetBroadphaseHandle2(obj.ptr); |
@@ -533,6 +534,7 @@ public override void SetBroadphaseHandle(BulletBody obj, IntPtr handle) | |||
533 | { | 534 | { |
534 | BSAPICPP.SetUserPointer2(obj.ptr, handle); | 535 | BSAPICPP.SetUserPointer2(obj.ptr, handle); |
535 | } | 536 | } |
537 | */ | ||
536 | 538 | ||
537 | public override void SetInterpolationLinearVelocity(BulletBody obj, Vector3 vel) | 539 | public override void SetInterpolationLinearVelocity(BulletBody obj, Vector3 vel) |
538 | { | 540 | { |
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs index 6e67c7a..699f055 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | |||
@@ -475,9 +475,9 @@ public abstract Quaternion GetOrientation(BulletBody obj); | |||
475 | 475 | ||
476 | public abstract void SetTranslation(BulletBody obj, Vector3 position, Quaternion rotation); | 476 | public abstract void SetTranslation(BulletBody obj, Vector3 position, Quaternion rotation); |
477 | 477 | ||
478 | public abstract IntPtr GetBroadphaseHandle(BulletBody obj); | 478 | // public abstract IntPtr GetBroadphaseHandle(BulletBody obj); |
479 | 479 | ||
480 | public abstract void SetBroadphaseHandle(BulletBody obj, IntPtr handle); | 480 | // public abstract void SetBroadphaseHandle(BulletBody obj, IntPtr handle); |
481 | 481 | ||
482 | public abstract void SetInterpolationLinearVelocity(BulletBody obj, Vector3 vel); | 482 | public abstract void SetInterpolationLinearVelocity(BulletBody obj, Vector3 vel); |
483 | 483 | ||