mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-31 15:38:50 +00:00
Fixed bug in edge generation (also appears in regular side). Added portal edge detection. Adjusted layer related debug draw.
This commit is contained in:
@@ -746,8 +746,8 @@ void Sample_TileMesh::handleRenderOverlay(double* proj, double* model, int* view
|
||||
{
|
||||
char text[32];
|
||||
snprintf(text,32,"Layer %d", i+1);
|
||||
imguiDrawText((int)x+10+1, (int)y-1, IMGUI_ALIGN_LEFT, text, imguiRGBA(0,0,0,128));
|
||||
imguiDrawText((int)x+10, (int)y, IMGUI_ALIGN_LEFT, text, color);
|
||||
imguiDrawRoundedRect(x+10-6,y-6,100,20, 4, duTransCol(color,128));
|
||||
imguiDrawText((int)x+10, (int)y, IMGUI_ALIGN_LEFT, text, imguiRGBA(255,255,255,255));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user