13 lines
272 B
C++
13 lines
272 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;
|
||
|
private:
|
||
|
PerlinNoise surface;
|
||
|
};
|