WIP DearImGui conversion

This commit is contained in:
Graham Pentheny
2025-07-10 11:11:54 -04:00
parent 9af5723d32
commit 6b906538dc
15 changed files with 862 additions and 302 deletions

View File

@@ -214,6 +214,7 @@ void NavMeshTesterTool::init(Sample* sample)
void NavMeshTesterTool::handleMenu()
{
#if 0
if (imguiCheck("Pathfind Follow", m_toolMode == TOOLMODE_PATHFIND_FOLLOW))
{
m_toolMode = TOOLMODE_PATHFIND_FOLLOW;
@@ -419,6 +420,7 @@ void NavMeshTesterTool::handleMenu()
imguiUnindent();
imguiSeparator();
#endif
}
void NavMeshTesterTool::handleClick(const float* /*s*/, const float* p, bool shift)
@@ -1482,6 +1484,7 @@ void NavMeshTesterTool::handleRender()
void NavMeshTesterTool::handleRenderOverlay(double* proj, double* model, int* view)
{
#if 0
GLdouble x, y, z;
// Draw start and end point labels
@@ -1502,6 +1505,7 @@ void NavMeshTesterTool::handleRenderOverlay(double* proj, double* model, int* vi
IMGUI_ALIGN_LEFT,
"LMB+SHIFT: Set start location LMB: Set end location",
imguiRGBA(255, 255, 255, 192));
#endif
}
void NavMeshTesterTool::drawAgent(const float* pos, float r, float h, float c, const unsigned int col)