tavli
diff src/pnoise.h @ 6:a0d30f6f20d4
- texture coordinate generation in class Mesh
- wood texture
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 26 Jun 2015 04:22:06 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/pnoise.h Fri Jun 26 04:22:06 2015 +0300 1.3 @@ -0,0 +1,8 @@ 1.4 +#ifndef PNOISE_H_ 1.5 +#define PNOISE_H_ 1.6 + 1.7 +float dbg_noise2(float x, float y); 1.8 +float pnoise2(float x, float y, int periodx, int periody); 1.9 +float pturbulence2(float x, float y, int periodx, int periody, int octaves); 1.10 + 1.11 +#endif // PNOISE_H_