From 6d9cdfd969ae295f2205d484e7408591e7fb8e7e Mon Sep 17 00:00:00 2001 From: redstrate <54911369+redstrate@users.noreply.github.com> Date: Wed, 12 May 2021 10:46:33 -0400 Subject: [PATCH] Add configurable light size parameter to debug menu --- engine/core/src/debug.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/core/src/debug.cpp b/engine/core/src/debug.cpp index b3d3550..2470156 100644 --- a/engine/core/src/debug.cpp +++ b/engine/core/src/debug.cpp @@ -60,6 +60,7 @@ void draw_lighting() { for(auto& [obj, light] : lights) { auto& transform = engine->get_scene()->get(obj); ImGui::DragFloat3((engine->get_scene()->get(obj).name + "Position").c_str(), transform.position.ptr()); + ImGui::DragFloat((engine->get_scene()->get(obj).name + "Light Size").c_str(), &light.size, 0.1f); } ImGui::Text("Environment");