Added 2 finger camera pan, zoom, and rotate
This commit is contained in:
parent
ac911f3f87
commit
8b46c31bd7
10 changed files with 295 additions and 18 deletions
|
|
@ -325,6 +325,16 @@ void World::input_pen_axis_callback(const InputManager::PenAxisCallbackArgs& axi
|
|||
drawProg.input_pen_axis_callback(axis);
|
||||
}
|
||||
|
||||
void World::input_multi_finger_touch_callback(const InputManager::MultiFingerTouchArgs& touch) {
|
||||
if(!clientStillConnecting)
|
||||
drawData.cam.input_multi_finger_touch_callback(*this, touch);
|
||||
}
|
||||
|
||||
void World::input_multi_finger_motion_callback(const InputManager::MultiFingerMotionArgs& motion) {
|
||||
if(!clientStillConnecting)
|
||||
drawData.cam.input_multi_finger_motion_callback(*this, motion);
|
||||
}
|
||||
|
||||
void World::send_chat_message(const std::string& message) {
|
||||
if(!clientStillConnecting)
|
||||
ownClientData->send_chat_message(ownClientData, *this, message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue