mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
remove redundant static_cast by changing Events::pressedKeys template parameter from int to keycode
This commit is contained in:
parent
659a2610aa
commit
77b36f45f2
4 changed files with 5 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ glm::vec2 Events::cursor = {};
|
|||
bool Events::cursor_drag = false;
|
||||
bool Events::_cursor_locked = false;
|
||||
std::vector<uint> Events::codepoints;
|
||||
std::vector<int> Events::pressedKeys;
|
||||
std::vector<keycode> Events::pressedKeys;
|
||||
std::unordered_map<std::string, Binding> Events::bindings;
|
||||
|
||||
bool Events::pressed(keycode keycode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue