Switch from Nz prefix to namespace Nz
What a huge commit Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
This commit is contained in:
@@ -12,24 +12,28 @@
|
||||
#include <Nazara/Noise/Abstract4DNoise.hpp>
|
||||
#include <Nazara/Math/Vector4.hpp>
|
||||
|
||||
class NAZARA_NOISE_API NzPerlin4D : public NzAbstract4DNoise
|
||||
namespace Nz
|
||||
{
|
||||
public:
|
||||
NzPerlin4D();
|
||||
NzPerlin4D(unsigned int seed);
|
||||
float GetValue(float x, float y, float z, float w, float resolution);
|
||||
~NzPerlin4D() = default;
|
||||
protected:
|
||||
private:
|
||||
int x0,y0,z0,w0;
|
||||
int gi0,gi1,gi2,gi3,gi4,gi5,gi6,gi7,gi8,gi9,gi10,gi11,gi12,gi13,gi14,gi15;
|
||||
int ii,jj,kk,ll;
|
||||
float gradient4[32][4];
|
||||
float Li1,Li2,Li3,Li4,Li5,Li6,Li7,Li8,Li9,Li10,Li11,Li12,Li13,Li14;
|
||||
float s[4],t[4],u[4],v[4];
|
||||
float Cx,Cy,Cz,Cw;
|
||||
float tmp;
|
||||
NzVector4<float> temp;
|
||||
};
|
||||
class NAZARA_NOISE_API Perlin4D : public Abstract4DNoise
|
||||
{
|
||||
public:
|
||||
Perlin4D();
|
||||
Perlin4D(unsigned int seed);
|
||||
~Perlin4D() = default;
|
||||
|
||||
float GetValue(float x, float y, float z, float w, float resolution);
|
||||
|
||||
private:
|
||||
int x0,y0,z0,w0;
|
||||
int gi0,gi1,gi2,gi3,gi4,gi5,gi6,gi7,gi8,gi9,gi10,gi11,gi12,gi13,gi14,gi15;
|
||||
int ii,jj,kk,ll;
|
||||
float gradient4[32][4];
|
||||
float Li1,Li2,Li3,Li4,Li5,Li6,Li7,Li8,Li9,Li10,Li11,Li12,Li13,Li14;
|
||||
float s[4],t[4],u[4],v[4];
|
||||
float Cx,Cy,Cz,Cw;
|
||||
float tmp;
|
||||
Vector4<float> temp;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // PERLIN4D_HPP
|
||||
|
||||
Reference in New Issue
Block a user