vengine  0.1.0
3D graphics engine made with Vulkan
Loading...
Searching...
No Matches
ven::KeyboardController Class Reference

#include <KeyboardController.hpp>

+ Collaboration diagram for ven::KeyboardController:

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}
 

Detailed Description

Definition at line 14 of file KeyboardController.hpp.

Member Function Documentation

◆ moveInPlaneXZ()

Member Data Documentation

◆ m_keys

KeyMappings ven::KeyboardController::m_keys {}

Definition at line 33 of file KeyboardController.hpp.

Referenced by moveInPlaneXZ().

◆ m_lookSpeed

float ven::KeyboardController::m_lookSpeed {1.5F}

Definition at line 35 of file KeyboardController.hpp.

Referenced by moveInPlaneXZ().

◆ m_moveSpeed

float ven::KeyboardController::m_moveSpeed {3.F}

Definition at line 34 of file KeyboardController.hpp.

Referenced by moveInPlaneXZ().


The documentation for this class was generated from the following files: