10 #ifndef VRECKO_NATURE_TERRAIN_PERLINNOISEPROPERTIES_H
11 #define VRECKO_NATURE_TERRAIN_PERLINNOISEPROPERTIES_H
20 static class PerlinNoiseProperties :
public GeneratedTerrainProperties
25 static float _persistence;
26 static int _octaveCount;
37 static inline float Persistence() {
return _persistence; }
38 static inline void Persistence(
float persistence) { _persistence = persistence; }
43 static inline int OctaveCount() {
return _octaveCount; }
44 static inline void OctaveCount(
int octaveCount) { _octaveCount = (octaveCount >= 1 ? octaveCount : 1); }
50 static inline void Interpolation(
InterpolationType interpolation) { _interpolation = interpolation; }
57 static void LoadDataSourceNodeParameters(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode *parameters);
65 static void ParseInterpolationString(
const std::string& input);
67 } PerlinNoiseProperties;