indentation warnings fix
This commit is contained in:
committed by
Sébastien Loriot
parent
da8ca763b8
commit
5ffc01f1a1
@@ -696,7 +696,7 @@ shape. The implementation follows \cgalCite{schnabel2007efficient}.
|
||||
|
||||
candidates.resize(end);
|
||||
}
|
||||
keep_searching = (stop_probability(m_options.min_points,
|
||||
keep_searching = (stop_probability(m_options.min_points,
|
||||
m_num_available_points - num_invalid,
|
||||
generated_candidates,
|
||||
m_global_octree->maxLevel())
|
||||
|
||||
@@ -405,7 +405,7 @@ Scene_polygon_soup_item::load(std::istream& in)
|
||||
void Scene_polygon_soup_item::init_polygon_soup(std::size_t nb_pts, std::size_t nb_polygons){
|
||||
if(!soup)
|
||||
soup = new Polygon_soup;
|
||||
soup->clear();
|
||||
soup->clear();
|
||||
soup->points.reserve(nb_pts);
|
||||
soup->polygons.reserve(nb_polygons);
|
||||
oriented = false;
|
||||
|
||||
@@ -468,17 +468,17 @@ Scene_polyhedron_item::compute_normals_and_vertices(void) const
|
||||
if (f == boost::graph_traits<Polyhedron>::null_face())
|
||||
continue;
|
||||
|
||||
if(!is_triangle(f->halfedge(),*poly))
|
||||
{
|
||||
triangulate_facet(f);
|
||||
}
|
||||
else
|
||||
{
|
||||
int i=0;
|
||||
HF_circulator he = f->facet_begin();
|
||||
HF_circulator end = he;
|
||||
CGAL_For_all(he,end)
|
||||
{
|
||||
if(!is_triangle(f->halfedge(),*poly))
|
||||
{
|
||||
triangulate_facet(f);
|
||||
}
|
||||
else
|
||||
{
|
||||
int i=0;
|
||||
HF_circulator he = f->facet_begin();
|
||||
HF_circulator end = he;
|
||||
CGAL_For_all(he,end)
|
||||
{
|
||||
|
||||
// If Flat shading:1 normal per polygon added once per vertex
|
||||
|
||||
|
||||
Reference in New Issue
Block a user