Recast: improve unlinked poly bounds color

The thickness of the bounds were increased, so the red one doesn't need to be darker anymore. Previously it was hard to see compared to the blue poly's.
This commit is contained in:
Kawe Mazidjatari 2024-07-16 11:51:33 +02:00
parent 8c4bcc13d7
commit f64696d18b

View File

@ -33,7 +33,7 @@ static unsigned int getPolyBoundaryColor(const dtPoly* poly, const bool inner)
{
return poly->groupId == DT_STRAY_POLY_GROUP
? inner ? duRGBA(32,24,0,32) : duRGBA(32,24,0,220)
: inner ? duRGBA(0,48,64,32) : duRGBA(0,48,64,220);
: inner ? duRGBA(0,24,32,32) : duRGBA(0,24,32,220);
}
static void drawOffMeshConnectionRefPosition(duDebugDraw* dd, const dtOffMeshConnection* con)