diff --git a/PerlinGround.hpp b/PerlinGround.hpp index 597624c..08f3182 100644 --- a/PerlinGround.hpp +++ b/PerlinGround.hpp @@ -8,6 +8,7 @@ class PerlinGround : public Ground { PerlinGround(unsigned int seed); double operator() (double, double) const; Point get_normal(double x, double y) const; + PerlinNoise* get_surface() { return &surface;} private: PerlinNoise surface; };