Change ground and road colors slightly (#256)

Ground color is changed back to the previous default color, and the road
color is changed to a dark shade of brown that is a bit easier to
differentiate with normal input geometry.
This commit is contained in:
Jakob Botsch Nielsen 2017-02-04 15:19:06 +01:00 committed by GitHub
parent 03eb2f92f3
commit fb49ccf83a

View File

@ -39,12 +39,12 @@ unsigned int SampleDebugDraw::areaToCol(unsigned int area)
{
switch(area)
{
// Ground (0) : brown
case SAMPLE_POLYAREA_GROUND: return duRGBA(125, 125, 0, 255);
// Ground (0) : light blue
case SAMPLE_POLYAREA_GROUND: return duRGBA(0, 192, 255, 255);
// Water : blue
case SAMPLE_POLYAREA_WATER: return duRGBA(0, 0, 255, 255);
// Road : dark grey
case SAMPLE_POLYAREA_ROAD: return duRGBA(80, 80, 80, 255);
// Road : brown
case SAMPLE_POLYAREA_ROAD: return duRGBA(50, 20, 12, 255);
// Door : cyan
case SAMPLE_POLYAREA_DOOR: return duRGBA(0, 255, 255, 255);
// Grass : green