Definition at line 148 of file noise.cpp.hpp.
148 {
150 fl::i16 u,v;
151 if(hash < 4) { u =
x; v =
y; }
else { u =
y; v =
x; }
152 if(hash&1) { u = -u; }
153 if(hash&2) { v = -v; }
154
155 return AVG15(u,v);
156}
u16 hash(i32 x, i32 y) FL_NO_EXCEPT
References FL_NO_EXCEPT, x, and y.