mirror of https://github.com/CGAL/cgal
reverse all normals
This commit is contained in:
parent
d2d114cf24
commit
db9ca1a3fb
|
|
@ -158,7 +158,7 @@ public:
|
|||
update_bounding_box(lp.bbox() + (lp + lv).bbox() + (lp + lpv).bbox());
|
||||
}
|
||||
|
||||
void reverse_normals() const
|
||||
void reverse_all_normals() const
|
||||
{
|
||||
m_buffer_for_mono_faces.negate_normals();
|
||||
m_buffer_for_colored_faces.negate_normals();
|
||||
|
|
|
|||
|
|
@ -260,7 +260,7 @@ public:
|
|||
void reverse_all_normals()
|
||||
{
|
||||
m_inverse_normal=!m_inverse_normal;
|
||||
gBuffer.reverse_normals();
|
||||
gBuffer.reverse_all_normals();
|
||||
}
|
||||
|
||||
// Returns true if the data structure lies on a plane
|
||||
|
|
|
|||
Loading…
Reference in New Issue