14#include <lagrange/ui/Entity.h>
23 bool any_control_active =
false;
26 Eigen::Vector2f mouse_current = Eigen::Vector2f::Zero();
27 Eigen::Vector2f mouse_delta = Eigen::Vector2f::Zero();
30 bool rotation_active =
false;
31 Eigen::Vector2f rotation_mouse_start = Eigen::Vector2f::Zero();
32 Eigen::Vector3f rotation_camera_pos_start = Eigen::Vector3f::Zero();
33 Eigen::Vector3f rotation_camera_up_start = Eigen::Vector3f::Zero();
36 bool dolly_active =
false;
37 float dolly_delta = 0.0f;
38 Eigen::Vector2f dolly_mouse_start = Eigen::Vector2f::Zero();
41 bool pan_active =
false;
42 float pan_speed = 0.0005f;
45 bool ortho_interaction_2D =
false;
46 bool auto_nearfar =
true;
47 bool fov_zoom =
false;
54 float speed = 1.0f / 4.0f;
55 Eigen::Vector3f start_pos = Eigen::Vector3f::Zero();
56 Eigen::Vector3f axis = Eigen::Vector3f(0, 1, 0);
61 std::function<bool(Registry& r, Entity e)> filter =
nullptr;
64 float current_time = 0.0f;
Lagrange UI Viewer and mini 3D engine.
Definition: AcceleratedPicking.h:22
Main namespace for Lagrange.
Definition: AABBIGL.h:30
Definition: CameraComponents.h:22
Definition: CameraComponents.h:60
Definition: CameraComponents.h:52