Tango: added camera movement when moving 2 fingers

This commit is contained in:
matlabbe
2016-10-27 14:22:21 -04:00
parent 69219eb340
commit 8f90d25468
3 changed files with 40 additions and 10 deletions

View File

@@ -76,6 +76,7 @@ class GestureCamera : public Camera {
float cam_start_dist_;
float cam_cur_dist_;
glm::vec3 anchor_offset_;
float start_touch_dist_;
float cur_touch_dist_;