diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-20 14:01:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 14:01:06 +0200 |
commit | 66a30dab35f3788ae28c7e6171d3908fe75e7b75 (patch) | |
tree | cc5045d98995b754097d1dde100f0138033fc735 /modules/csg/csg.h | |
parent | 8e3d9a23aa0a724d3dd25fcf0e8085b5a438c233 (diff) | |
parent | 141c3755814cea60888c7ee548c7ce709550b784 (diff) |
Merge pull request #62176 from reduz/cleanup-hashfuncs
Diffstat (limited to 'modules/csg/csg.h')
-rw-r--r-- | modules/csg/csg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/csg/csg.h b/modules/csg/csg.h index 53a9e5d722..738e3d68ea 100644 --- a/modules/csg/csg.h +++ b/modules/csg/csg.h @@ -130,9 +130,9 @@ struct CSGBrushOperation { struct VertexKeyHash { static _FORCE_INLINE_ uint32_t hash(const VertexKey &p_vk) { - uint32_t h = hash_djb2_one_32(p_vk.x); - h = hash_djb2_one_32(p_vk.y, h); - h = hash_djb2_one_32(p_vk.z, h); + uint32_t h = hash_murmur3_one_32(p_vk.x); + h = hash_murmur3_one_32(p_vk.y, h); + h = hash_murmur3_one_32(p_vk.z, h); return h; } }; |