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
512 B

* Simple noise module utilizing smcameron's c port of OpenSimplex
#pragma once
#include "terrain/open_simplex_noise.h"
#include "terrain/noisemodule.h"
namespace vtk { namespace noise {
class Noise : public NoiseModule {
Noise(const int64_t& seed);
double get2D(const double& x, const double& y);
double get3D(const double& x, const double& y, const double& z);
void setScale(const double& scale);
double mScale;
struct osn_context* mCtx;
}} //vtk::noise