aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorRobert Adams2012-12-31 19:56:32 -0800
committerRobert Adams2012-12-31 19:57:26 -0800
commitdb3b6e892133c096f2c4244a0902b4f9f1a87371 (patch)
treeee0c13d4ba6d6c29ef492368db57f3e4ce27b190 /OpenSim
parentBulletSim: remove rigid body contruction functions from BSAPITemplate that re... (diff)
downloadopensim-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.
Diffstat (limited to 'OpenSim')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSAPIUnman.cs2
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs4
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 /*
527public override IntPtr GetBroadphaseHandle(BulletBody obj) 528public 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
537public override void SetInterpolationLinearVelocity(BulletBody obj, Vector3 vel) 539public 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
476public abstract void SetTranslation(BulletBody obj, Vector3 position, Quaternion rotation); 476public abstract void SetTranslation(BulletBody obj, Vector3 position, Quaternion rotation);
477 477
478public abstract IntPtr GetBroadphaseHandle(BulletBody obj); 478// public abstract IntPtr GetBroadphaseHandle(BulletBody obj);
479 479
480public abstract void SetBroadphaseHandle(BulletBody obj, IntPtr handle); 480// public abstract void SetBroadphaseHandle(BulletBody obj, IntPtr handle);
481 481
482public abstract void SetInterpolationLinearVelocity(BulletBody obj, Vector3 vel); 482public abstract void SetInterpolationLinearVelocity(BulletBody obj, Vector3 vel);
483 483