Added terrain generation using FastNoiseLite

This commit is contained in:
2022-10-29 19:17:58 -04:00
parent 8365b148d0
commit 13828992d4
4 changed files with 2647 additions and 17 deletions

View File

@@ -11,7 +11,6 @@ extern NodeManager nodeManager;
extern BlockManager blockManager;
struct Position2D
{
int x;

2586
include/FastNoiseLite.h Normal file

File diff suppressed because it is too large Load Diff

24
include/Utilities.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef UTILITIES
#define UTILITIES
class Utilities
{
public:
Utilities()
{
}
static float degToRad(int degrees)
{
return 3.14 / 180 * degrees; // Only the first three digits of pi
}
protected:
private:
};
#endif