This commit is contained in:
Isuru Samarathunga
2025-10-12 16:39:29 +05:30
parent 09131d7fab
commit 4380705f81
18 changed files with 511 additions and 94 deletions

View File

@ -18,6 +18,7 @@
#include <Renderer/Renderer.hpp>
#include <Renderer/DebugDraw.hpp>
#include <Physics.hpp>
#include <WorldManager.hpp>
#include <IAEngine/imgui/backends/imgui_impl_sdl3.h>
@ -69,6 +70,7 @@ namespace ia::iae
ImGui_ImplSDL3_NewFrame();
ImGui::NewFrame();
Physics::DebugDraw();
WorldManager::DebugDraw();
g_gameFunctions.OnDebugDraw();
@ -89,7 +91,7 @@ namespace ia::iae
g_debugDrawState.ActiveColor = IM_COL32(color.R, color.G, color.B, color.A);
}
VOID Engine::DebugDraw_StrokeWidth(IN FLOAT32 width)
VOID Engine::DebugDraw_SetStrokeWidth(IN FLOAT32 width)
{
g_debugDrawState.ActiveStrokeWidth = width;
}