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

◆ hash()

u16 fl::anonymous_namespace{noise_woryley.cpp.hpp}::hash ( i32 x,
i32 y )

Definition at line 19 of file noise_woryley.cpp.hpp.

19 {
20 u32 n = (u32)(x * 374761393 + y * 668265263);
21 n = (n ^ (n >> 13)) * 1274126177;
22 return (u16)((n ^ (n >> 16)) & 0xFFFF);
23}

References hash(), fl::x, and fl::y.

Referenced by feature_point(), and hash().

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