Removing useless code

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
This commit is contained in:
Blyron 2024-05-31 09:42:30 +02:00
parent e7d13e6c0e
commit 317037a31e
1 changed files with 0 additions and 7 deletions

View File

@ -763,10 +763,6 @@ std::map<road::Lane::LaneType , std::vector<std::unique_ptr<Mesh>>> MeshFactory:
outinfo.push_back("white");
break;
}
default:
{
break;
}
}
} else {
if(lane.second.GetType() == road::Lane::LaneType::None ){
@ -1179,19 +1175,16 @@ std::map<road::Lane::LaneType , std::vector<std::unique_ptr<Mesh>>> MeshFactory:
case road::Lane::LaneType::Bidirectional:
{
return default_num_vertices;
break;
}
case road::Lane::LaneType::Shoulder:
case road::Lane::LaneType::Sidewalk:
case road::Lane::LaneType::Biking:
{
return 6;
break;
}
default:
{
return 2;
break;
}
}
}