You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
580 B

/*
* Y Axis turbulence
*/
#pragma once
#include <memory>
#include "terrain/noisemodule.h"
namespace vtk { namespace noise {
class YTurbulence : public NoiseModule {
public:
YTurbulence(std::shared_ptr<NoiseModule> input, std::shared_ptr<NoiseModule> modifier);
YTurbulence(std::shared_ptr<NoiseModule> input, std::shared_ptr<NoiseModule> modifier, const double& multiplier);
double get3D(const double&x, const double&y, const double&z);
protected:
std::shared_ptr<NoiseModule> mInput;
std::shared_ptr<NoiseModule> mModifier;
double mMultiplier;
};
}} // vtk::noise