Increase debug arow size

This commit is contained in:
Kawe Mazidjatari 2022-07-28 00:52:12 +02:00
parent 37637bc56a
commit 6a1b6c580a
3 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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();
}

View File

@ -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);
}
}
}