12 #ifndef hifi_HashKey_h
13 #define hifi_HashKey_h
18 #include <glm/glm.hpp>
36 void hashUint64(uint64_t data);
37 void hashFloat(
float data);
38 void hashVec3(
const glm::vec3& data);
39 uint64_t getHash64()
const {
return _hash; }
42 uint8_t _hashCount { 0 };
45 static float getNumQuantizedValuesPerMeter();
48 HashKey(uint64_t hash) : _hash(hash) {}
51 bool equals(
const HashKey& other)
const {
return _hash == other._hash; }
52 int32_t getHash()
const {
return (int32_t)((uint32_t)_hash); }
54 uint64_t getHash64()
const {
return _hash; }