Added new material 'metal'

This commit is contained in:
2018-04-05 17:26:18 +02:00
parent 3a4deaf314
commit d8442ddb81
2 changed files with 2 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ public:
if (focus) {pen.setColor(Qt::black);}
if (mat == Material::CONCRETE) {;}
if (mat == Material::GLASS) {pen.setStyle(Qt::PenStyle::DotLine);}
if (mat == Material::METAL) {pen.setColor(QColor(50, 50, 50));}
if (type == ObstacleType::HANDRAIL) {pen.setStyle(Qt::PenStyle::DashLine);}
if (type == ObstacleType::UNKNOWN) {pen.setColor(Qt::red);}
if (type == ObstacleType::PILLAR) {pen.setColor(Qt::red);}