#include "shader.hpp"
#include <SDL.h>
+#include <glm/glm.hpp>
namespace blank {
void Handle(const SDL_MouseMotionEvent &);
void Handle(const SDL_MouseButtonEvent &);
void Handle(const SDL_MouseWheelEvent &);
- void Handle(const SDL_WindowEvent &);
+ void Handle(const SDL_WindowEvent &) noexcept;
void FaceBlock();
void TurnBlock();
void PickBlock();
void PlaceBlock();
- void RemoveBlock();
+ void RemoveBlock() noexcept;
void PrintBlockInfo();
+ void PrintChunkInfo();
void PrintLightInfo();
void PrintSelectionInfo();
void Print(const Block &);
void Update(int dt);
- void Render(DirectionalLighting &);
+ void Render(DirectionalLighting &) noexcept;
private:
World &world;
Block remove;
Block selection;
- bool front, back, left, right, up, down;
+ glm::tvec3<int> fwd, rev;
};