37 ImVec2(std::min(drag_start_pos_.x, drag_current_pos_.x), std::min(drag_start_pos_.y, drag_current_pos_.y)),
38 ImVec2(std::max(drag_start_pos_.x, drag_current_pos_.x), std::max(drag_start_pos_.y, drag_current_pos_.y))
47 void draw_selected_camera(
rtti::context& ctx, entt::handle editor_camera,
const ImVec2&
size);
52 void draw_gizmo_pivot_mode_menu(
bool& gizmo_at_center);
56 void draw_visualization_menu();
60 void draw_framerate_display();
65 void draw_drag_selection_rect(
const ImVec2& start_pos,
const ImVec2& current_pos);
70 void setup_camera_viewport(
camera_component& camera_comp,
const ImVec2&
size,
const ImVec2& pos);
79 int visualize_passes_{-1};
80 scene panel_scene_{
"scene_panel"};
82 bool gizmo_at_center_{
true};
84 float acceleration_{};
85 math::vec3 move_dir_{};
87 gizmos_renderer gizmos_{};
90 bool was_prefab_mode_{
false};
93 bool auto_save_prefab_{
true};
96 bool is_drag_selecting_{
false};
97 ImVec2 drag_start_pos_{};
98 ImVec2 drag_current_pos_{};
99 bool was_using_gizmo_{
false};