Switch from Nz prefix to namespace Nz
What a huge commit Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
This commit is contained in:
@@ -10,29 +10,32 @@
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <array>
|
||||
|
||||
class NAZARA_NOISE_API NzComplexNoiseBase
|
||||
namespace Nz
|
||||
{
|
||||
public:
|
||||
NzComplexNoiseBase();
|
||||
~NzComplexNoiseBase() = default;
|
||||
class NAZARA_NOISE_API ComplexNoiseBase
|
||||
{
|
||||
public:
|
||||
ComplexNoiseBase();
|
||||
~ComplexNoiseBase() = default;
|
||||
|
||||
float GetHurstParameter() const;
|
||||
float GetLacunarity() const;
|
||||
float GetOctaveNumber() const;
|
||||
void SetHurstParameter(float h);
|
||||
void SetLacunarity(float lacunarity);
|
||||
void SetOctavesNumber(float octaves);
|
||||
void RecomputeExponentArray();
|
||||
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<float, 30> m_exponent_array;
|
||||
float m_sum;
|
||||
protected:
|
||||
float m_lacunarity;
|
||||
float m_hurst;
|
||||
float m_octaves;
|
||||
std::array<float, 30> m_exponent_array;
|
||||
float m_sum;
|
||||
|
||||
private:
|
||||
bool m_parametersModified;
|
||||
};
|
||||
private:
|
||||
bool m_parametersModified;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // COMPLEXNOISEBASE_HPP
|
||||
|
||||
Reference in New Issue
Block a user