| 19 | } |
| 20 | |
| 21 | void PerlinNoise::Set(double _persistence, double _frequency, double _amplitude, int _octaves, int _randomseed) |
| 22 | { |
| 23 | persistence = _persistence; |
| 24 | frequency = _frequency; |
| 25 | amplitude = _amplitude; |
| 26 | octaves = _octaves; |
| 27 | randomseed = 2 + _randomseed * _randomseed; |
| 28 | } |
| 29 | |
| 30 | double PerlinNoise::GetHeight(double x, double y) const |
| 31 | { |
nothing calls this directly
no outgoing calls
no test coverage detected