Removed unused variable

This commit is contained in:
Blyron 2024-05-30 15:03:31 +02:00 committed by Blyron
parent e6ba65db21
commit e7d13e6c0e
2 changed files with 4 additions and 3 deletions

View File

@ -633,8 +633,6 @@ std::map<road::Lane::LaneType , std::vector<std::unique_ptr<Mesh>>> MeshFactory:
if (mesh_uptr_list[lane_pair.second.GetType()].size() <= PosToAdd) { if (mesh_uptr_list[lane_pair.second.GetType()].size() <= PosToAdd) {
mesh_uptr_list[lane_pair.second.GetType()].push_back(std::make_unique<Mesh>(lane_section_mesh)); mesh_uptr_list[lane_pair.second.GetType()].push_back(std::make_unique<Mesh>(lane_section_mesh));
} else { } else {
uint32_t verticesinwidth = 0;
*(mesh_uptr_list[lane_pair.second.GetType()][PosToAdd]) += lane_section_mesh; *(mesh_uptr_list[lane_pair.second.GetType()][PosToAdd]) += lane_section_mesh;
} }
} }

View File

@ -129,7 +129,10 @@ namespace geom {
const road::Lane& lane, const road::Lane& lane,
std::vector<std::unique_ptr<Mesh>>& inout, std::vector<std::unique_ptr<Mesh>>& inout,
std::vector<std::string>& outinfo ) const; std::vector<std::string>& outinfo ) const;
// =========================================================================
// -- Generation parameters ------------------------------------------------
// =========================================================================
/// Parameters for the road generation /// Parameters for the road generation
struct RoadParameters { struct RoadParameters {