diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 01:22:06 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-10-16 01:22:06 (GMT) |
commit | de53382a3d1a7f47684cdda7c27d976c2e234ce9 (patch) | |
tree | bdc7ae6f0e6974bee207ffc5dd55697ab15dbf13 /tests/cgalpngtest.cc | |
parent | 7332ec9fe260140ff74506fa2ba95e0a2bbf352e (diff) |
small cleanup
Diffstat (limited to 'tests/cgalpngtest.cc')
-rw-r--r-- | tests/cgalpngtest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cgalpngtest.cc b/tests/cgalpngtest.cc index 7f505a6..41e7eaf 100644 --- a/tests/cgalpngtest.cc +++ b/tests/cgalpngtest.cc @@ -223,8 +223,9 @@ int main(int argc, char **argv) if (cgalRenderer.polyhedron) { CGAL::Bbox_3 cgalbbox = cgalRenderer.polyhedron->bbox(); bbox = BoundingBox(Vector3d(cgalbbox.xmin(), cgalbbox.ymin(), cgalbbox.zmin()), - Vector3d(cgalbbox.xmax(), cgalbbox.ymax(), cgalbbox.zmax())); - } else if (cgalRenderer.polyset) { + Vector3d(cgalbbox.xmax(), cgalbbox.ymax(), cgalbbox.zmax())); + } + else if (cgalRenderer.polyset) { bbox = cgalRenderer.polyset->getBoundingBox(); } |