Fix hyperbolic triangulation example

This commit is contained in:
Andreas Fabri 2019-02-28 14:41:41 +01:00
parent 8333df9a0a
commit 13010e9f13
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ int main(int argc, char** argv)
{
if(fit->has_vertex(vo))
{
fit->info() = CGAL::RED;
fit->info() = CGAL::red();
origin_faces++;
}
}
@ -57,7 +57,7 @@ int main(int argc, char** argv)
int red_faces = 0;
for(fit = dt.hyperbolic_faces_begin(); fit != dt.hyperbolic_faces_end(); ++fit)
{
if(fit->info() == CGAL::RED)
if(fit->info() == CGAL::red())
{
red_faces++;
}