n/f/hetero: use unsigned type for octaves
This commit is contained in:
parent
4f7a3d790f
commit
83f23fe836
@ -29,8 +29,8 @@ namespace util { namespace noise { namespace fractal {
|
|||||||
struct hetero : public base<T,B> {
|
struct hetero : public base<T,B> {
|
||||||
using seed_t = typename base<T,B>::seed_t;
|
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_H = T(0.75);
|
||||||
static constexpr T DEFAULT_OCTAVES = 6;
|
|
||||||
static constexpr T DEFAULT_FREQUENCY = T(0.1);
|
static constexpr T DEFAULT_FREQUENCY = T(0.1);
|
||||||
static constexpr T DEFAULT_LACUNARITY = 2;
|
static constexpr T DEFAULT_LACUNARITY = 2;
|
||||||
static constexpr T DEFAULT_AMPLITUDE = 1;
|
static constexpr T DEFAULT_AMPLITUDE = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user