fix weird gcc thing (i dont even know)
This commit is contained in:
parent
6c3f2ddd84
commit
734030edcb
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
Planet* Planet::planet = nullptr;
|
Planet* Planet::planet = nullptr;
|
||||||
|
|
||||||
|
const unsigned int Planet::chunkSize = 32;
|
||||||
|
|
||||||
// Public
|
// Public
|
||||||
Planet::Planet(Shader* solidShader, Shader* waterShader, Shader* billboardShader)
|
Planet::Planet(Shader* solidShader, Shader* waterShader, Shader* billboardShader)
|
||||||
: solidShader(solidShader), waterShader(waterShader), billboardShader(billboardShader)
|
: solidShader(solidShader), waterShader(waterShader), billboardShader(billboardShader)
|
||||||
|
@ -25,7 +25,7 @@ public:
|
|||||||
public:
|
public:
|
||||||
static Planet* planet;
|
static Planet* planet;
|
||||||
unsigned int numChunks = 0, numChunksRendered = 0;
|
unsigned int numChunks = 0, numChunksRendered = 0;
|
||||||
static const unsigned int chunkSize = 32;
|
static const unsigned int chunkSize;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::unordered_map<std::tuple<int, int, int>, Chunk> chunks;
|
std::unordered_map<std::tuple<int, int, int>, Chunk> chunks;
|
||||||
|
Loading…
Reference in New Issue
Block a user