summaryrefslogtreecommitdiff
path: root/tests/bboxhelp.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-03-06 18:08:31 (GMT)
committerMarius Kintel <marius@kintel.net>2013-03-06 18:08:31 (GMT)
commitcfc67f928fc86310614940f126d9f6c76d4e9ea7 (patch)
tree162be7579d3acd0eeb5b7b509ef9a0b428d6831f /tests/bboxhelp.cc
parentfe44758f5096be0e98c82d2cb0d54bdeffc4403a (diff)
parent974abf13049d5e73227418e3990af8a9bbf9db09 (diff)
Merge branch 'master' of github.com:openscad/openscad
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