removed unused variables

removed warnings
This commit is contained in:
Sven Oesau 2023-01-18 14:41:55 +01:00
parent 185b553938
commit 892ea69b35
2 changed files with 2 additions and 4 deletions

View File

@ -742,7 +742,7 @@ void dump_visi(
polygon.push_back(data.point_3(pvertex));
}
colors.push_back(Color((1 - color) * low[0] + color * high[0], (1 - color) * low[1] + color * high[1], (1 - color) * low[2] + color * high[2], ((color > 0.5) ? 150 : 25)));
colors.push_back(Color(static_cast<unsigned char>((1 - color) * low[0] + color * high[0]), static_cast<unsigned char>((1 - color) * low[1] + color * high[1]), static_cast<unsigned char>((1 - color) * low[2] + color * high[2]), ((color > 0.5) ? 150 : 25)));
CGAL_assertion(polygon.size() >= 3);
polygons.push_back(polygon);
@ -981,7 +981,7 @@ void dump(const InputRange input_range, PointMap point_map, NormalMap normal_map
for (std::size_t r = 0; r < regions.size(); r++) {
for (std::size_t i = 0; i < regions[r].size(); i++) {
CGAL_assertion(regions[r][i] < input_range.size());
region_index[regions[r][i]] = r;
region_index[regions[r][i]] = static_cast<int>(r);
}
}

View File

@ -226,8 +226,6 @@ private:
From_EK from_EK;
const Parameters& m_parameters;
FT m_previous_time;
FT m_current_time;
Kinetic_traits m_kinetic_traits;
std::vector<Volume_cell> m_volumes;