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.

26 lines
472 B

* Prouces a Y axis gradient with -1.0 at start and 1.0 at finish
#pragma once
#include "terrain/noisemodule.h"
namespace vtk { namespace noise {
class YGradient : public NoiseModule {
YGradient(const double& start, const double& end);
void setStart(const double& start);
void setEnd(const double& end);
double get3D(const double& x, const double& y, const double& z);
double mStart;
double mEnd;
}} //vtk::noise