Only iterate over each entry once
This commit is contained in:
@@ -27,6 +27,7 @@ typedef struct EntityMap {
|
||||
i32 height;
|
||||
i32 cellResolution;
|
||||
i32 cellDepth;
|
||||
i32 queryCount;
|
||||
} EntityMap;
|
||||
|
||||
typedef struct EntityMapDesc {
|
||||
@@ -38,6 +39,7 @@ typedef struct EntityMapDesc {
|
||||
|
||||
typedef struct EntityMapIter {
|
||||
EntityMap *entityMap;
|
||||
i32 queryIdx;
|
||||
EntityMapEntry entry;
|
||||
EntityMapIndex index;
|
||||
i32 x;
|
||||
|
||||
Reference in New Issue
Block a user