MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / find

Method find

deps/physx/physx/source/common/src/CmCollection.cpp:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105PxBase* Collection::find(PxSerialObjectId id) const
106{
107 PX_CHECK_AND_RETURN_NULL(id != PX_SERIAL_OBJECT_ID_INVALID, "PxCollection::find called with PxSerialObjectId being set to PX_SERIAL_OBJECT_ID_INVALID!");
108 const IdToObjectMap::Entry* e = mIds.find(id);
109 return e ? static_cast<PxBase*>(e->second) : NULL;
110}
111
112void Collection::add(PxCollection& _collection)
113{

Callers 5

removeMethod · 0.45
containsMethod · 0.45
addIdMethod · 0.45
removeIdMethod · 0.45
getIdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected