mirror of https://github.com/CGAL/cgal
Change normals of CDT_2s...
... honestly that does not change anything!
This commit is contained in:
parent
b561b86133
commit
f32f9f0da1
|
|
@ -400,10 +400,10 @@ public:
|
|||
cross_product(vector(last_point, tr.point(*vit)),
|
||||
vector(last_point, tr.point(*next_it))));
|
||||
}
|
||||
if (accumulated_normal.z() < 0 ||
|
||||
(accumulated_normal.z() == 0 && accumulated_normal.y() > 0) ||
|
||||
(accumulated_normal.z() == 0 && accumulated_normal.y() == 0 &&
|
||||
accumulated_normal.x() > 0)
|
||||
if (accumulated_normal.x() < 0 ||
|
||||
(accumulated_normal.x() == 0 && accumulated_normal.y() < 0) ||
|
||||
(accumulated_normal.x() == 0 && accumulated_normal.y() == 0 &&
|
||||
accumulated_normal.z() < 0)
|
||||
)
|
||||
{
|
||||
accumulated_normal = - accumulated_normal;
|
||||
|
|
|
|||
Loading…
Reference in New Issue