summaryrefslogtreecommitdiff
path: root/tests/cgalpngtest.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-10-16 01:14:35 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-10-16 01:14:35 (GMT)
commit7332ec9fe260140ff74506fa2ba95e0a2bbf352e (patch)
treeab72752cc52e68d1ed77559cdd18d702ffc05b2c /tests/cgalpngtest.cc
parent7735f5510cdc2d396092d04ed98a2dbaec347608 (diff)
clean up linux changes to fit with win32 changes.
Diffstat (limited to 'tests/cgalpngtest.cc')
-rw-r--r--tests/cgalpngtest.cc5
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();
}
contact: Jan Huwald // Impressum