#include <KeyboardController.hpp>
Classes | |
struct | KeyMappings |
Public Member Functions | |
void | moveInPlaneXZ (GLFWwindow *window, float dt, Object &object) const |
Public Attributes | |
KeyMappings | m_keys {} |
float | m_moveSpeed {3.F} |
float | m_lookSpeed {1.5F} |
Definition at line 14 of file KeyboardController.hpp.
void ven::KeyboardController::moveInPlaneXZ | ( | GLFWwindow * | window, |
float | dt, | ||
Object & | object ) const |
Definition at line 5 of file keyboardController.cpp.
References ven::KeyboardController::KeyMappings::lookDown, ven::KeyboardController::KeyMappings::lookLeft, ven::KeyboardController::KeyMappings::lookRight, ven::KeyboardController::KeyMappings::lookUp, m_keys, m_lookSpeed, m_moveSpeed, ven::KeyboardController::KeyMappings::moveBackward, ven::KeyboardController::KeyMappings::moveDown, ven::KeyboardController::KeyMappings::moveForward, ven::KeyboardController::KeyMappings::moveLeft, ven::KeyboardController::KeyMappings::moveRight, and ven::KeyboardController::KeyMappings::moveUp.
KeyMappings ven::KeyboardController::m_keys {} |
Definition at line 33 of file KeyboardController.hpp.
Referenced by moveInPlaneXZ().
float ven::KeyboardController::m_lookSpeed {1.5F} |
Definition at line 35 of file KeyboardController.hpp.
Referenced by moveInPlaneXZ().
float ven::KeyboardController::m_moveSpeed {3.F} |
Definition at line 34 of file KeyboardController.hpp.
Referenced by moveInPlaneXZ().