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/Include/common/PxSerializer.h | |
| 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/Include/common/PxSerializer.h')
| -rw-r--r-- | PhysX_3.4/Include/common/PxSerializer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/PhysX_3.4/Include/common/PxSerializer.h b/PhysX_3.4/Include/common/PxSerializer.h index 0b6c4c83..d6fc21de 100644 --- a/PhysX_3.4/Include/common/PxSerializer.h +++ b/PhysX_3.4/Include/common/PxSerializer.h @@ -73,16 +73,16 @@ public: \return Class name of most derived type of this object. */ - virtual const char* getConcreteTypeName() const = 0; + virtual const char* getConcreteTypeName() const = 0; /** \brief Adds required objects to the collection. - + This method does not add the required objects recursively, e.g. objects required by required objects. - + @see PxCollection, PxSerialization::complete */ - virtual void requires(PxBase&, PxProcessPxBaseCallback&) const = 0; + virtual void requiresObjects(PxBase&, PxProcessPxBaseCallback&) const = 0; /** \brief Whether the object is subordinate. @@ -161,11 +161,11 @@ public: { return mTypeName; } - - virtual void requires(PxBase& obj, PxProcessPxBaseCallback& c) const + + virtual void requiresObjects(PxBase& obj, PxProcessPxBaseCallback& c) const { T& t = static_cast<T&>(obj); - t.requires(c); + t.requiresObjects(c); } virtual bool isSubordinate() const @@ -211,7 +211,7 @@ public: }; RequiresCallback callback(s); - t.requires(callback); + t.requiresObjects(callback); } // class methods |