MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetSpatialIndex

Function GetSpatialIndex

src/openrct2/entity/EntityRegistry.cpp:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 static constexpr uint32_t GetSpatialIndex(EntityBase& entity)
63 {
64 return entity.spatialIndex & ~kSpatialIndexDirtyMask;
65 }
66
67 static constexpr bool EntityTypeIsMiscEntity(const EntityType type)
68 {

Callers 2

EntitySpatialRemoveMethod · 0.85
setLocationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected