MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/CompactNSearch / SpatialHasher

Class SpatialHasher

include/DataStructures.h:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84};
85
86struct SpatialHasher
87{
88 std::size_t operator()(HashKey const& k) const
89 {
90 return
91 73856093 * k.k[0] ^
92 19349663 * k.k[1] ^
93 83492791 * k.k[2];
94 }
95};
96
97class Spinlock
98{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected