diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 01:14:35 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 01:14:35 (GMT) |
commit | 7332ec9fe260140ff74506fa2ba95e0a2bbf352e (patch) | |
tree | ab72752cc52e68d1ed77559cdd18d702ffc05b2c /tests/cgalpngtest.cc | |
parent | 7735f5510cdc2d396092d04ed98a2dbaec347608 (diff) |
clean up linux changes to fit with win32 changes.
Diffstat (limited to 'tests/cgalpngtest.cc')
-rw-r--r-- | tests/cgalpngtest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/cgalpngtest.cc b/tests/cgalpngtest.cc index c72bc30..7f505a6 100644 --- a/tests/cgalpngtest.cc +++ b/tests/cgalpngtest.cc @@ -222,9 +222,8 @@ int main(int argc, char **argv) BoundingBox bbox; if (cgalRenderer.polyhedron) { CGAL::Bbox_3 cgalbbox = cgalRenderer.polyhedron->bbox(); - Vector3d min = Vector3d(cgalbbox.xmin(), cgalbbox.ymin(), cgalbbox.zmin()); - Vector3d max = Vector3d(cgalbbox.xmax(), cgalbbox.ymax(), cgalbbox.zmax()); - bbox = BoundingBox(min, max); + bbox = BoundingBox(Vector3d(cgalbbox.xmin(), cgalbbox.ymin(), cgalbbox.zmin()), + Vector3d(cgalbbox.xmax(), cgalbbox.ymax(), cgalbbox.zmax())); } else if (cgalRenderer.polyset) { bbox = cgalRenderer.polyset->getBoundingBox(); } |