Increase convex volume alpha and height

This commit is contained in:
Kawe Mazidjatari 2022-07-27 15:12:47 +02:00
parent 677d993403
commit 6d4b2ea7ef
2 changed files with 4 additions and 4 deletions

View File

@ -92,8 +92,8 @@ ConvexVolumeTool::ConvexVolumeTool() :
m_sample(0), m_sample(0),
m_areaType(SAMPLE_POLYAREA_GROUND), m_areaType(SAMPLE_POLYAREA_GROUND),
m_polyOffset(0.0f), m_polyOffset(0.0f),
m_boxHeight(500.0f), m_boxHeight(650.0f),
m_boxDescent(250.0f), m_boxDescent(150.0f),
m_npts(0), m_npts(0),
m_nhull(0) m_nhull(0)
{ {

View File

@ -596,9 +596,9 @@ void InputGeom::drawConvexVolumes(struct duDebugDraw* dd, bool /*hilight*/)
unsigned int col; unsigned int col;
if (vol->area == SAMPLE_POLYAREA_GROUND) if (vol->area == SAMPLE_POLYAREA_GROUND)
col = duRGBA(255, 0, 0, 32); // Use red for visibility (ground acts as deletion). col = duRGBA(255, 0, 0, 128); // Use red for visibility (ground acts as deletion).
else else
col = duTransCol(dd->areaToCol(vol->area), 32); col = duTransCol(dd->areaToCol(vol->area), 64);
for (int j = 0, k = vol->nverts-1; j < vol->nverts; k = j++) for (int j = 0, k = vol->nverts-1; j < vol->nverts; k = j++)
{ {