Definition at line 232 of file noise.cpp.
233{
234
235
236
237
238 int8_t u,v;
239 if(hash & 8) {
241 } else {
242 if(hash & 4) {
244 } else {
246 }
247 }
248
249 if(hash&1) { u = -u; }
250 if(hash&2) { v = -v; }
251
253}
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(), and x.