mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-15 23:59:59 +00:00
WIP DearImGui conversion
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user