Ocular Engine
WorleyNoise.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_MATH_WORLEY_NOISE__H__
19 #define __H__OCULAR_MATH_WORLEY_NOISE__H__
20 
21 #include "ANoise.hpp"
22 #include "Math/Random/Random.hpp"
23 
24 #include <memory>
25 
26 //------------------------------------------------------------------------------------------
27 
32 namespace Ocular
33 {
38  namespace Math
39  {
44  namespace Noise
45  {
49  class WorleyNoise : public ANoise
50  {
51  public:
52 
53  WorleyNoise();
54  ~WorleyNoise();
55 
61  virtual float getValue(float const x);
62 
70  virtual float getValue(float const x, float const y);
71 
80  virtual float getValue(float const x, float const y, float const z);
81 
82  protected:
83 
84  private:
85 
86  };
87  }
91  }
95 }
100 //------------------------------------------------------------------------------------------
101 
102 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: WorleyNoise.hpp:49
Definition: ANoise.hpp:48
virtual float getValue(float const x)