1 #ifndef BLANK_WORLD_HPP_
2 #define BLANK_WORLD_HPP_
7 #include "generator.hpp"
11 #include <glm/glm.hpp>
24 Chunk **chunk = nullptr,
26 float *dist = nullptr,
27 glm::vec3 *normal = nullptr);
29 BlockTypeRegistry &BlockTypes() { return blockType; }
31 Entity &Player() { return player; }
33 Chunk &Next(const Chunk &to, const glm::tvec3<int> &dir);
37 void Render(DirectionalLighting &);
40 BlockTypeRegistry blockType;
41 CuboidShape blockShape;
42 StairShape stairShape;
43 CuboidShape slabShape;