feat(editor): show scale and rotation info for selected objects

This commit is contained in:
Kelsi 2026-05-05 10:56:48 -07:00
parent 05d7dcd927
commit 126567a1d0

View file

@ -1362,6 +1362,8 @@ void EditorUI::renderObjectPanel(EditorApp& app) {
if (changed) app.markObjectsDirty(); if (changed) app.markObjectsDirty();
ImGui::Text("Scale: %.2f Rot: %.0f,%.0f,%.0f",
sel->scale, sel->rotation.x, sel->rotation.y, sel->rotation.z);
if (ImGui::Button("Snap Ground", ImVec2(75, 0))) if (ImGui::Button("Snap Ground", ImVec2(75, 0)))
app.snapSelectedToGround(); app.snapSelectedToGround();
ImGui::SameLine(); ImGui::SameLine();