diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2018-11-27 13:02:50 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2018-11-27 13:02:50 -0600 |
| commit | 78cab22a61786a23f2ee1ad7c5dcbec0024befca (patch) | |
| tree | 27cb86e3add785670ddfdbfc901f1654d74d1cb2 /PhysX_3.4/Source/GeomUtils/src/mesh | |
| parent | PhysX 3.4, APEX 1.4 patch release @24990349 (diff) | |
| download | physx-3.4-78cab22a61786a23f2ee1ad7c5dcbec0024befca.tar.xz physx-3.4-78cab22a61786a23f2ee1ad7c5dcbec0024befca.zip | |
PhysX 3.4, APEX 1.4 patch release @25256367
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 |