2012-08-28 21:13:35 +00:00
|
|
|
#ifndef _PAYSAGES_NOISENAIVE_H_
|
|
|
|
#define _PAYSAGES_NOISENAIVE_H_
|
|
|
|
|
2013-01-19 22:42:50 +00:00
|
|
|
#include "tools/pack.h"
|
2012-08-28 21:13:35 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void noiseNaiveInit();
|
|
|
|
void noiseNaiveQuit();
|
|
|
|
void noiseNaiveSave(PackStream* stream);
|
|
|
|
void noiseNaiveLoad(PackStream* stream);
|
|
|
|
double noiseNaiveGet1DValue(double x);
|
|
|
|
double noiseNaiveGet2DValue(double x, double y);
|
|
|
|
double noiseNaiveGet3DValue(double x, double y, double z);
|
|
|
|
/*double noiseNaiveGet4DValue(double x, double y, double z, double w);*/
|
2013-01-19 22:42:50 +00:00
|
|
|
|
2012-08-28 21:13:35 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|