Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
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
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Math::Noise::WorleyNoise
Definition:
WorleyNoise.hpp:49
Ocular::Math::Noise::ANoise
Definition:
ANoise.hpp:48
Ocular::Math::Noise::WorleyNoise::getValue
virtual float getValue(float const x)
OcularCore
include
Math
Noise
WorleyNoise.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10