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

Method getGeneration

include/reactphysics3d/engine/Entity.h:111–113  ·  view source on GitHub ↗

Return the generation number of the entity

Source from the content-addressed store, hash-verified

109
110// Return the generation number of the entity
111RP3D_FORCE_INLINE uint32 Entity::getGeneration() const {
112 return (id >> ENTITY_INDEX_BITS) & ENTITY_GENERATION_MASK;
113}
114
115// Equality operator
116RP3D_FORCE_INLINE bool Entity::operator==(const Entity& entity) const {

Callers 1

isValidMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected