5 Turbulence(int gens, int seed);
7 void update(double dt, double rate);
8 void setMagnitude(double mag) { _mag = mag; }
9 void getTurbulence(double* loc, float* turbOut);
12 unsigned int hashrand(unsigned int i);
13 float lattice(unsigned int x, unsigned int y);
14 float iturb(unsigned int x, unsigned int y);
15 float fturb(double a, double b);
16 void mkimg(float* buf, int sz);
17 float cubenorm(float x, float y, float z);
18 void turblut(int x, int y, float* out);
26 float _x0, _x1, _y0, _y1, _z0, _z1;