Removed unused variable
This commit is contained in:
parent
e6ba65db21
commit
e7d13e6c0e
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue