1 #ifndef VOXELOOP_VOXELOOP_HPP
2 #define VOXELOOP_VOXELOOP_HPP
6 #include <GLFW/glfw3.h>
17 static void key_callback(GLFWwindow *window,
int key,
int scancode,
18 int action,
int mods);
20 void init(GLFWwindow *window);
std::shared_ptr< GameData > SharedDataRef
Definition: Common.hpp:14
Definition: Voxeloop.hpp:15
SharedDataRef m_sharedData
Definition: Voxeloop.hpp:26
double m_prevTime
Definition: Voxeloop.hpp:35
void loop()
Definition: Voxeloop.cpp:32
float m_scale
Definition: Voxeloop.hpp:34
void cleanup()
Definition: Voxeloop.cpp:22
void init(GLFWwindow *window)
Definition: Voxeloop.cpp:4
static void key_callback(GLFWwindow *window, int key, int scancode, int action, int mods)
Definition: Voxeloop.cpp:58
float m_mvmt
Definition: Voxeloop.hpp:33
Cubes * m_cubes
Definition: Voxeloop.hpp:29
Audio * m_audio
Definition: Voxeloop.hpp:30
void run()
Definition: Voxeloop.cpp:30
WindowManager * win
Definition: Voxeloop.hpp:27
GLFWwindow * m_window
Definition: Voxeloop.hpp:25
Definition: WindowManager.hpp:12