mirror of https://github.com/CGAL/cgal
draw lcc
This commit is contained in:
parent
310ad8e40c
commit
f70a2d30cd
|
|
@ -64,8 +64,7 @@ void compute_face(const LCC& lcc,
|
|||
CGAL::Graphics_scene& graphics_scene,
|
||||
const GSOptionsLCC& gso)
|
||||
{
|
||||
if (!gso.are_faces_enabled() ||
|
||||
!gso.draw_face(lcc, dh))
|
||||
if(!gso.are_faces_enabled() || !gso.draw_face(lcc, dh))
|
||||
{ return; }
|
||||
|
||||
// We fill only closed faces.
|
||||
|
|
@ -79,13 +78,9 @@ void compute_face(const LCC& lcc,
|
|||
while (cur!=dh);
|
||||
|
||||
if (gso.colored_volume(lcc, voldh))
|
||||
{
|
||||
graphics_scene.face_begin(gso.volume_color(lcc, voldh));
|
||||
}
|
||||
{ graphics_scene.face_begin(gso.volume_color(lcc, voldh)); }
|
||||
else if (gso.colored_face(lcc, dh))
|
||||
{
|
||||
graphics_scene.face_begin(gso.face_color(lcc, dh));
|
||||
}
|
||||
{ graphics_scene.face_begin(gso.face_color(lcc, dh)); }
|
||||
else
|
||||
{ graphics_scene.face_begin(); }
|
||||
|
||||
|
|
@ -108,8 +103,7 @@ void compute_edge(const LCC& lcc,
|
|||
CGAL::Graphics_scene& graphics_scene,
|
||||
const GSOptions& gso)
|
||||
{
|
||||
if (!gso.are_edges_enabled() ||
|
||||
!gso.draw_edge(lcc, dh))
|
||||
if(!gso.are_edges_enabled() || !gso.draw_edge(lcc, dh))
|
||||
{ return; }
|
||||
|
||||
const typename LCC::Point& p1=lcc.point(dh);
|
||||
|
|
|
|||
Loading…
Reference in New Issue