DrawCamera works on events
This commit is contained in:
parent
a53fd7c1dd
commit
e6c87ecf87
14 changed files with 132 additions and 79 deletions
|
|
@ -336,6 +336,11 @@ void MainProgram::input_mouse_motion_callback(const InputManager::MouseMotionCal
|
|||
world->input_mouse_motion_callback(motion);
|
||||
}
|
||||
|
||||
void MainProgram::input_mouse_wheel_callback(const InputManager::MouseWheelCallbackArgs& wheel) {
|
||||
if(world)
|
||||
world->input_mouse_wheel_callback(wheel);
|
||||
}
|
||||
|
||||
bool MainProgram::network_being_used() {
|
||||
for(auto& w : worlds) {
|
||||
if(w->netObjMan.is_connected())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue