aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/SimulationController
diff options
context:
space:
mode:
Diffstat (limited to 'PhysX_3.4/Source/SimulationController')
-rw-r--r--PhysX_3.4/Source/SimulationController/include/ScIterators.h2
-rw-r--r--PhysX_3.4/Source/SimulationController/src/ScIterators.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/PhysX_3.4/Source/SimulationController/include/ScIterators.h b/PhysX_3.4/Source/SimulationController/include/ScIterators.h
index c539d783..97115db6 100644
--- a/PhysX_3.4/Source/SimulationController/include/ScIterators.h
+++ b/PhysX_3.4/Source/SimulationController/include/ScIterators.h
@@ -81,8 +81,6 @@ namespace Sc
PxContactStreamIterator mIter;
const PxReal* mForces;
Contact mCurrentContact;
- ShapeSim* mShape0;
- ShapeSim* mShape1;
};
ContactIterator() {}
diff --git a/PhysX_3.4/Source/SimulationController/src/ScIterators.cpp b/PhysX_3.4/Source/SimulationController/src/ScIterators.cpp
index 8273fabe..4ed8195f 100644
--- a/PhysX_3.4/Source/SimulationController/src/ScIterators.cpp
+++ b/PhysX_3.4/Source/SimulationController/src/ScIterators.cpp
@@ -43,8 +43,6 @@ Sc::ContactIterator::Pair::Pair(const void*& contactPatches, const void*& contac
, mNumContacts(numContacts)
, mIter(reinterpret_cast<const PxU8*>(contactPatches), reinterpret_cast<const PxU8*>(contactPoints), reinterpret_cast<const PxU32*>(forces + numContacts), numPatches, numContacts)
, mForces(forces)
-, mShape0(&shape0)
-, mShape1(&shape1)
{
mCurrentContact.shape0 = shape0.getPxShape();
mCurrentContact.shape1 = shape1.getPxShape();