mirror of https://github.com/CGAL/cgal
Comment optimization done for convex facets for now, because there is a bug in the test code. Todo: solve the bug (maybe use a better test ?)
This commit is contained in:
parent
035dd7cd24
commit
21012cb0a3
|
|
@ -372,13 +372,15 @@ public:
|
|||
|
||||
if (m_points_of_face.size()==3)
|
||||
{ triangular_face_end_internal(normal); } // Triangle: no need to triangulate
|
||||
else if (is_current_face_convex(normal))
|
||||
/*
|
||||
// TODO BUG FIX HERE
|
||||
else if (is_current_face_convex(normal))
|
||||
{
|
||||
if (m_points_of_face.size()==4)
|
||||
{ convex_quadrangular_face_end_internal(normal); } // Convex quad
|
||||
else
|
||||
{ convex_face_end_internal(normal); } // Convex face with > 4 vertices
|
||||
}
|
||||
} */
|
||||
else
|
||||
{ // Non convex and more than 3 points: we triangulate
|
||||
nonconvex_face_end_internal(normal);
|
||||
|
|
|
|||
Loading…
Reference in New Issue