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

Method remove

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

Source from the content-addressed store, hash-verified

60}
61
62void Collection::remove(PxBase& object)
63{
64 PX_CHECK_AND_RETURN(contains(object), "PxCollection::remove called for an object not contained in the collection!");
65
66 const ObjectToIdMap::Entry* e = mObjects.find(&object);
67 if(e)
68 {
69 mIds.erase(e->second);
70 mObjects.erase(&object);
71 }
72}
73
74bool Collection::contains(PxBase& object) const
75{

Callers 15

DestroyMethod · 0.45
RemoveComponentMethod · 0.45
UnbindActionMethod · 0.45
UnbindAxisMethod · 0.45
nnFunction · 0.45
jquery.jsFile · 0.45
hideFunction · 0.45
deleteCommentFunction · 0.45
closeReplyFunction · 0.45
jquery.jsFile · 0.45
xFunction · 0.45
eFunction · 0.45

Calls 5

containsFunction · 0.50
findMethod · 0.45
eraseMethod · 0.45
getEntriesMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected