4 #include "UserAction.h"
5 #include "GLFWGameWindow.h"
8 #include "Framebuffer.h"
10 #include "SceneNode.h"
11 #include "MeshInstance.h"
12 #include "InputHandler.h"
13 #include "CameraController.h"
14 #include "FontRenderer.h"
16 #include "Commander.h"
35 virtual void update(
double frameLength);
40 virtual void destroy();
45 void characterCallback(
int character,
int action);
49 void keyCallback(
int key,
int action);
58 UserAction _currentAction;
60 Shader textureScreenShader;
69 Shader blur1Shader, blur2Shader;
86 glm::vec3 _lightPosition;
93 bool _pressedTab, _pressedDel;
97 unsigned int pick(
int x,
int y);
101 static void setPerspective(
Shader* shader,
const glm::mat4& perspective,
float farPlane);
104 void renderVisibleFrontSurfaces(
Framebuffer* distanceTransform,
const glm::vec3& viewLightPosition);
105 void renderCutSurfaces(
Framebuffer* distanceTransform,
const glm::vec3& viewLightPosition);