mirror of
https://github.com/Relintai/terraman.git
synced 2025-04-21 21:41:20 +02:00
Fix hashing.
This commit is contained in:
parent
e44caf50ea
commit
e9779e6d19
@ -228,7 +228,7 @@ public:
|
||||
struct IntPosHasher {
|
||||
static _FORCE_INLINE_ uint32_t hash(const IntPos &v) {
|
||||
uint32_t hash = hash_djb2_one_32(v.x);
|
||||
hash = hash_djb2_one_32(v.y, hash);
|
||||
hash = hash_djb2_one_32(v.x, hash);
|
||||
return hash_djb2_one_32(v.z, hash);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user