From eebc87fe1fda369c510f7a7cd22b605f2607612f Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Mon, 8 Oct 2012 22:22:27 -0400 Subject: Fixed broken debug output diff --git a/src/cgalutils.cc b/src/cgalutils.cc index a1c7dc2..e402139 100644 --- a/src/cgalutils.cc +++ b/src/cgalutils.cc @@ -81,7 +81,7 @@ public: const CGALPoint &p = vertices[i]; B.add_vertex(p); #ifdef GEN_SURFACE_DEBUG - printf("%d: %f %f %f\n", i, p[0], p[1], p[2]); + printf("%d: %f %f %f\n", i, p.x().to_double(), p.y().to_double(), p.z().to_double()); #endif } -- cgit v0.10.1