Definition at line 213 of file noise.cpp.
214{
215
216
217
218
219 int8_t u,v;
220 if( hash & 4) {
222 } else {
224 }
225
226 if(hash&1) { u = -u; }
227 if(hash&2) { v = -v; }
228
230}
LIB8STATIC_ALWAYS_INLINE int8_t avg7(int8_t i, int8_t j)
Calculate an integer average of two signed 7-bit integers (int8_t).
References avg7(), x, and y.