Definition at line 252 of file noise.cpp.
253{
254
255
256
257
258 int8_t u,v;
259 if(hash & 8) {
261 } else {
262 if(hash & 4) {
264 } else {
266 }
267 }
268
269 if(hash&1) { u = -u; }
270 if(hash&2) { v = -v; }
271
273}
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.