diff options
Diffstat (limited to 'PhysX_3.4/Source/GeomUtils/src/mesh')
| -rw-r--r-- | PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.cpp | 2 | ||||
| -rw-r--r-- | PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.h | 3 | ||||
| -rw-r--r-- | PhysX_3.4/Source/GeomUtils/src/mesh/GuTriangleMesh.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.cpp b/PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.cpp index 24c86294..8b318819 100644 --- a/PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.cpp +++ b/PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.cpp @@ -181,7 +181,7 @@ bool BV4Tree::init(SourceMesh* meshInterface, const PxBounds3& localBounds) } // PX_SERIALIZATION -BV4Tree::BV4Tree(const PxEMPTY) +BV4Tree::BV4Tree(const PxEMPTY) : mLocalBounds(PxEmpty) { mUserAllocated = true; } diff --git a/PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.h b/PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.h index 8bbcf737..48766a22 100644 --- a/PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.h +++ b/PhysX_3.4/Source/GeomUtils/src/mesh/GuBV4.h @@ -156,6 +156,9 @@ namespace Gu struct LocalBounds { + // PX_SERIALIZATION + LocalBounds(const PxEMPTY) {} + //~PX_SERIALIZATION LocalBounds() : mCenter(PxVec3(0.0f)), mExtentsMagnitude(0.0f) {} PxVec3 mCenter; diff --git a/PhysX_3.4/Source/GeomUtils/src/mesh/GuTriangleMesh.h b/PhysX_3.4/Source/GeomUtils/src/mesh/GuTriangleMesh.h index 1d9871bb..7ff181d4 100644 --- a/PhysX_3.4/Source/GeomUtils/src/mesh/GuTriangleMesh.h +++ b/PhysX_3.4/Source/GeomUtils/src/mesh/GuTriangleMesh.h @@ -76,7 +76,7 @@ public: virtual void release(); void resolveReferences(PxDeserializationContext& ) {} - virtual void requires(PxProcessPxBaseCallback&){} + virtual void requiresObjects(PxProcessPxBaseCallback&){} //~PX_SERIALIZATION // Cm::RefCountable |