mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
func name fix
This commit is contained in:
parent
8a073e4e8a
commit
815aa90489
3 changed files with 4 additions and 4 deletions
|
|
@ -97,7 +97,7 @@ bool Events::jclicked(int button){
|
|||
return _keys[index] && _frames[index] == _current;
|
||||
}
|
||||
|
||||
void Events::toogleCursor(){
|
||||
void Events::toggleCursor(){
|
||||
_cursor_locked = !_cursor_locked;
|
||||
Window::setCursorMode(_cursor_locked ? GLFW_CURSOR_DISABLED : GLFW_CURSOR_NORMAL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue