adding plane shape and universal guizmo (this is the wrong branch)

This commit is contained in:
Erris
2026-03-07 11:48:46 +01:00
parent 44f766863d
commit af7b7d2bfa
8 changed files with 72 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
#ifndef EDITOR_HPP
#define EDITOR_HPP
#include <X11/X.h>
#include <open_engine.hpp>
#include "open_engine/renderer/renderer3d.hpp"
@@ -285,6 +286,10 @@ namespace OpenEngine {
guizmo_operation = ImGuizmo::OPERATION::SCALE;
break;
}
case KeyCode::T: {
guizmo_operation = ImGuizmo::OPERATION::UNIVERSAL;
break;
}
case KeyCode::Delete: {
scene->MarkEntityForDeletion(selected_entity);
scene_hierarchy.ClearSelection();