mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Increase convex volume alpha and height
This commit is contained in:
parent
677d993403
commit
6d4b2ea7ef
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user