From fb49ccf83a999328a825fc1848bc87b0c2359b14 Mon Sep 17 00:00:00 2001 From: Jakob Botsch Nielsen Date: Sat, 4 Feb 2017 15:19:06 +0100 Subject: [PATCH] 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. --- RecastDemo/Source/Sample.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RecastDemo/Source/Sample.cpp b/RecastDemo/Source/Sample.cpp index cd79dab..26f2f76 100644 --- a/RecastDemo/Source/Sample.cpp +++ b/RecastDemo/Source/Sample.cpp @@ -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