This commit is contained in:
JuiceyDev
2026-03-06 07:31:16 +01:00
parent 17ac8deddf
commit 9dd73aaa0d
11 changed files with 50 additions and 58 deletions
+4 -5
View File
@@ -28,13 +28,12 @@ public:
ChunkPos & operator= (const ChunkPos & other) { x = other.x; z = other.z; return *this; }
};
typedef struct
struct ChunkPosKeyHash
{
__int64 operator() (const ChunkPos &k) const { return ChunkPos::hash_fnct(k); }
};
} ChunkPosKeyHash;
typedef struct
struct ChunkPosKeyEq
{
bool operator() (const ChunkPos &x, const ChunkPos &y) const { return ChunkPos::eq_test(x, y); }
} ChunkPosKeyEq;
};