n/f/hetero: use unsigned type for octaves

This commit is contained in:
Danny Robson 2015-06-02 17:06:46 +10:00
parent 4f7a3d790f
commit 83f23fe836

View File

@ -29,8 +29,8 @@ namespace util { namespace noise { namespace fractal {
struct hetero : public base<T,B> {
using seed_t = typename base<T,B>::seed_t;
static constexpr unsigned DEFAULT_OCTAVES = 6;
static constexpr T DEFAULT_H = T(0.75);
static constexpr T DEFAULT_OCTAVES = 6;
static constexpr T DEFAULT_FREQUENCY = T(0.1);
static constexpr T DEFAULT_LACUNARITY = 2;
static constexpr T DEFAULT_AMPLITUDE = 1;