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

◆ feature_point()

void fl::anonymous_namespace{noise_woryley.cpp.hpp}::feature_point ( i32 gx,
i32 gy,
i32 & fx,
i32 & fy )

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

26 {
27 u16 h = hash(gx, gy);
28 fx = (h & 0xFF) * 128; // scale to Q15 (0–32767)
29 fy = ((h >> 8) & 0xFF) * 128;
30}

References feature_point(), and hash().

Referenced by feature_point().

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