mpri-graphics-project/PerlinGround.hpp
2018-02-13 22:54:41 +01:00

14 lines
324 B
C++

#pragma once
#include "Ground.hpp"
#include "PerlinNoise.hpp"
class PerlinGround : public Ground {
public:
PerlinGround();
PerlinGround(unsigned int seed);
double operator() (double, double) const;
Point get_normal(double x, double y) const;
private:
PerlinNoise surface;
};