34 static constexpr float EPSILON = std::numeric_limits<float>::epsilon();
60 static bool isKeyJustPressed(GLFWwindow* window,
long unsigned int key, std::array<bool, GLFW_KEY_LAST>& keyStates);
62 template<
typename Iterator>
This file contains the ImGuiWindowManager class.
This file contains utils for VEngine.
EventManager & operator=(const EventManager &)=delete
EventManager(EventManager &&)=delete
void handleEvents(GLFWwindow *window, ENGINE_STATE *engineState, Camera &camera, Gui &gui, float dt) const
std::array< bool, GLFW_KEY_LAST > m_keyState
static void moveCamera(GLFWwindow *window, Camera &camera, float dt)
static void processKeyActions(GLFWwindow *window, Iterator begin, Iterator end)
static bool isKeyJustPressed(GLFWwindow *window, long unsigned int key, std::array< bool, GLFW_KEY_LAST > &keyStates)
static void updateEngineState(ENGINE_STATE *engineState, const ENGINE_STATE newState)
EventManager(const EventManager &)=delete
EventManager & operator=(EventManager &&)=delete
static constexpr KeyMappings DEFAULT_KEY_MAPPINGS
static constexpr float EPSILON