Definition at line 278 of file noise.cpp.
279{
280
281
282
283
284 int8_t u,v;
285 if(hash & 8) {
287 } else {
288 if(hash & 4) {
290 } else {
292 }
293 }
294
295 if(hash&1) { u = -u; }
296 if(hash&2) { v = -v; }
297
299}
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.