17 #ifndef TANGO_GL_GESTURE_CAMERA_H_ 18 #define TANGO_GL_GESTURE_CAMERA_H_ 94 #endif // TANGO_GL_GESTURE_CAMERA_H_
CameraType GetCameraType() const
void SetCameraType(CameraType camera_index)
Transform * cam_parent_transform_
Segment GetSegmentFromTouch(float normalized_x, float normalized_y, float touch_range)
glm::quat cam_cur_target_rot_
glm::vec2 cam_start_angle_
void StartCameraToCurrentTransform()
void OnTouchEvent(int touch_count, TouchEvent event, float x0, float y0, float x1, float y1)
GLM_FUNC_DECL detail::tquat< T, P > rotation(detail::tvec3< T, P > const &orig, detail::tvec3< T, P > const &dest)
const glm::vec3 & GetAnchorOffset() const
void SetAnchorPosition(const glm::vec3 &pos, const glm::quat &rotation)
glm::vec2 touch0_start_position_
void SetCameraDistance(float cameraDistance)
void SetAnchorOffset(const glm::vec3 &pos)
float GetCameraDistance() const