bug fix. set_next was not called for the opposite edges

This commit is contained in:
Andreas Fabri 2015-10-08 17:36:06 +02:00 committed by Laurent Rineau
parent 3568c7813b
commit a2f3175044
1 changed files with 3 additions and 0 deletions

View File

@ -457,6 +457,9 @@ make_triangle(const P& p0, const P& p1, const P& p2, Graph& g)
h0 = opposite(h0,g);
h1 = opposite(h1,g);
h2 = opposite(h2,g);
set_next(h0, h2, g);
set_next(h2, h1, g);
set_next(h1, h0, g);
set_target(h0, v0, g);
set_target(h1, v1, g);
set_target(h2, v2, g);