00001
00002
00003 #ifndef _PERLIN_H_
00004 #define _PERLIN_H_
00005
00006 #include <celmath/vecmath.h>
00007
00008 extern float noise(float vec[], int len);
00009
00010 extern float noise1(float arg);
00011 extern float noise2(float vec[]);
00012 extern float noise3(float vec[]);
00013
00014 extern float turbulence(float v[], float freq);
00015 extern float turbulence(const Point2f& p, float freq);
00016 extern float turbulence(const Point3f& p, float freq);
00017 extern float fractalsum(float v[], float freq);
00018 extern float fractalsum(const Point2f& p, float freq);
00019 extern float fractalsum(const Point3f& p, float freq);
00020
00021 #endif // _PERLIN_H_