Definition at line 159 of file noise.cpp.hpp.
159 {
161 fl::i16 u,v;
162 if(hash > 8) { u=
x;v=
x; }
163 else if(hash < 4) { u=
x;v=1; }
165 if(hash&1) { u = -u; }
166 if(hash&2) { v = -v; }
167
168 return AVG15(u,v);
169}
u16 hash(i32 x, i32 y) FL_NO_EXCEPT
References FL_NO_EXCEPT, and x.