func name fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ public:
|
||||
static bool clicked(int button);
|
||||
static bool jclicked(int button);
|
||||
|
||||
static void toogleCursor();
|
||||
static void toggleCursor();
|
||||
};
|
||||
|
||||
#endif /* WINDOW_EVENTS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user