summaryrefslogtreecommitdiff
path: root/tests/bboxhelp.cc
diff options
context:
space:
mode:
authordonbright <hugh.m.bright@gmail.com>2013-03-05 23:47:14 (GMT)
committerdonbright <hugh.m.bright@gmail.com>2013-03-05 23:47:14 (GMT)
commit42f21c3a0850083d245aa3ac346a53e876f0679e (patch)
treefacf41750e0fe27cc4cdaf352c9c8e687011d103 /tests/bboxhelp.cc
parent422c668dcb538f181683ae51305bf8d3404f48d6 (diff)
parent4734172c3a16cc06b09e4d2131aa8e380bd0f226 (diff)
Merge pull request #288 from openscad/issue11_2
Issue11 2
Diffstat (limited to 'tests/bboxhelp.cc')
-rw-r--r--tests/bboxhelp.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/bboxhelp.cc b/tests/bboxhelp.cc
deleted file mode 100644
index b70ddcf..0000000
--- a/tests/bboxhelp.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- Work around bugs in MSVC compiler with Eigen AlignmentBox
- bbox.min and bbox.max will fail with Syntax Errors if placed inside
- of cgalpngtest.cc
-*/
-
-#include "linalg.h"
-
-Vector3d getBoundingCenter(BoundingBox bbox)
-{
- Vector3d center = (bbox.min() + bbox.max()) / 2;
- return center; // Vector3d(0,0,0);
-}
-
-double getBoundingRadius(BoundingBox bbox)
-{
- double radius = (bbox.max() - bbox.min()).norm() / 2;
- return radius; // 0;
-}
-
-
contact: Jan Huwald // Impressum