Use the correct enum value

This commit is contained in:
Mael Rouxel-Labbé 2024-06-04 17:39:15 +02:00
parent a4a2b7d702
commit f8abb836a0
1 changed files with 1 additions and 1 deletions

View File

@ -1258,7 +1258,7 @@ is_plane() const
while(it4 != vertices_end()) while(it4 != vertices_end())
{ {
Orientation s = orientation(point(it1), point(it2), point(it3), point(it4)); Orientation s = orientation(point(it1), point(it2), point(it3), point(it4));
is_plane = is_plane && s == COLLINEAR; is_plane = is_plane && s == COPLANAR;
if(!is_plane) if(!is_plane)
return false; return false;