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

◆ feature_point()

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

Definition at line 25 of file noise_woryley.cpp.

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

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: