Ignore
This commit is contained in:
18
include/LevelGenerator.h
Normal file
18
include/LevelGenerator.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef LEVELGENERATOR
|
||||
#define LEVELGENERATOR
|
||||
#include "FastNoiseLite.h"
|
||||
|
||||
class LevelGenerator
|
||||
{
|
||||
public:
|
||||
LevelGenerator();
|
||||
void generateBlock();
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
FastNoiseLite perlin, os, cellular;
|
||||
int seed = 138;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -26,7 +26,7 @@ class TextureHandler
|
||||
void loadAllTextures()
|
||||
{
|
||||
int textureIndex = 0;
|
||||
imageData = loadTexture("data/img/grass.png");
|
||||
imageData = loadTexture("data/img/texturemap.png");
|
||||
|
||||
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user