MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getIndex

Method getIndex

include/reactphysics3d/engine/Entity.h:106–108  ·  view source on GitHub ↗

Return the lookup index of the entity in a array

Source from the content-addressed store, hash-verified

104
105// Return the lookup index of the entity in a array
106RP3D_FORCE_INLINE uint32 Entity::getIndex() const {
107 return id & ENTITY_INDEX_MASK;
108}
109
110// Return the generation number of the entity
111RP3D_FORCE_INLINE uint32 Entity::getGeneration() const {

Callers 2

destroyEntityMethod · 0.80
isValidMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected