// Copyright (C) 2012 Rémi Bèges // This file is part of the "Nazara Engine - Noise module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef COMPLEXNOISEBASE_HPP #define COMPLEXNOISEBASE_HPP #include #include class NAZARA_API NzComplexNoiseBase { public: NzComplexNoiseBase(); ~NzComplexNoiseBase() = default; float GetHurstParameter() const; float GetLacunarity() const; float GetOctaveNumber() const; void SetHurstParameter(float h); void SetLacunarity(float lacunarity); void SetOctavesNumber(float octaves); void RecomputeExponentArray(); protected: float m_lacunarity; float m_hurst; float m_octaves; std::array m_exponent_array; float m_sum; private: bool m_parametersModified; }; #endif // COMPLEXNOISEBASE_HPP