From 6a1b6c580aa9b4cbc73a1c6ae932248a5dae6e92 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Thu, 28 Jul 2022 00:52:12 +0200 Subject: [PATCH] Increase debug arow size --- r5dev/naveditor/InputGeom.cpp | 2 +- r5dev/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp | 4 ++-- r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/r5dev/naveditor/InputGeom.cpp b/r5dev/naveditor/InputGeom.cpp index 4a2e9960..3ee0eacf 100644 --- a/r5dev/naveditor/InputGeom.cpp +++ b/r5dev/naveditor/InputGeom.cpp @@ -557,7 +557,7 @@ void InputGeom::drawOffMeshConnections(duDebugDraw* dd, bool hilight) if (hilight) { duAppendArc(dd, v[0],v[1],v[2], v[3],v[4],v[5], 0.25f, - (m_offMeshConDirs[i]&1) ? 0.6f : 0.0f, 0.6f, conColor); + (m_offMeshConDirs[i]&1) ? 0.6f : 0.0f, 30.0f, conColor); } } dd->end(); diff --git a/r5dev/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp b/r5dev/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp index 6354cbf6..e9403901 100644 --- a/r5dev/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp +++ b/r5dev/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp @@ -202,7 +202,7 @@ static void drawMeshTile(duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMesh // Connection arc. duAppendArc(dd, con->pos[0],con->pos[1],con->pos[2], con->pos[3],con->pos[4],con->pos[5], 0.25f, - (con->flags & 1) ? 0.6f : 0, 0.6f, col); + (con->flags & 1) ? 30.0f : 0.0f, 30.0f, col); } dd->end(); } @@ -443,7 +443,7 @@ void duDebugDrawNavMeshPoly(duDebugDraw* dd, const dtNavMesh& mesh, dtPolyRef re // Connection arc. duAppendArc(dd, con->pos[0],con->pos[1],con->pos[2], con->pos[3],con->pos[4],con->pos[5], 0.25f, - (con->flags & 1) ? 0.6f : 0.0f, 0.6f, c); + (con->flags & 1) ? 30.0f : 0.0f, 30.0f, c); dd->end(); } diff --git a/r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp b/r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp index 9123be81..c565eb7f 100644 --- a/r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp +++ b/r5dev/thirdparty/recast/DebugUtils/Source/RecastDebugDraw.cpp @@ -489,7 +489,7 @@ void duDebugDrawRegionConnections(duDebugDraw* dd, const rcContourSet& cset, con if (cont2) { getContourCenter(cont2, orig, cs, ch, pos2); - duAppendArc(dd, pos[0],pos[1],pos[2], pos2[0],pos2[1],pos2[2], 0.25f, 0.6f, 0.6f, color); + duAppendArc(dd, pos[0],pos[1],pos[2], pos2[0],pos2[1],pos2[2], 0.25f, 30.0f, 30.0f, color); } } }