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