Fix the type of FastnoiseNoiseParams::get_fractal_octaves().

This commit is contained in:
Relintai 2023-06-01 17:15:27 +02:00
parent e8bb085466
commit d8bd83dbd5

View File

@ -21,8 +21,8 @@ public:
void set_frequency(real_t freq) { _freq = freq; } void set_frequency(real_t freq) { _freq = freq; }
real_t get_frequency() const { return _freq; } real_t get_frequency() const { return _freq; }
void set_fractal_octaves(unsigned int octave_count) { _octave_count = octave_count; } void set_fractal_octaves(uint32_t octave_count) { _octave_count = octave_count; }
int get_fractal_octaves() const { return _octave_count; } uint32_t get_fractal_octaves() const { return _octave_count; }
void set_fractal_lacunarity(real_t lacunarity) { _lacunarity = lacunarity; } void set_fractal_lacunarity(real_t lacunarity) { _lacunarity = lacunarity; }
real_t get_fractal_lacunarity() const { return _lacunarity; } real_t get_fractal_lacunarity() const { return _lacunarity; }