FastLED 3.9.15
Loading...
Searching...
No Matches

◆ hash_pair()

static uint32_t fl::hash_pair ( uint32_t a,
uint32_t b,
uint32_t seed = 0 )
inlinestaticnoexcept

Definition at line 86 of file hash.h.

87 {
88 // mix in 'a', then mix in 'b'
89 uint32_t h = fast_hash32(seed ^ a);
90 return fast_hash32(h ^ b);
91}
static uint32_t fast_hash32(uint32_t x) noexcept
Definition hash.h:76

References fast_hash32().

Referenced by fl::FastHash< vec2< T > >::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: