summaryrefslogtreecommitdiff
path: root/src/linalg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/linalg.h')
-rw-r--r--src/linalg.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/linalg.h b/src/linalg.h
index 129ed3f..1f9ed30 100644
--- a/src/linalg.h
+++ b/src/linalg.h
@@ -22,18 +22,8 @@ bool matrix_contains_infinity( const Transform3d &m );
bool matrix_contains_nan( const Transform3d &m );
BoundingBox operator*(const Transform3d &m, const BoundingBox &box);
-
-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;
-}
+Vector3d getBoundingCenter(BoundingBox bbox);
+double getBoundingRadius(BoundingBox bbox);
class Color4f : public Eigen::Vector4f
contact: Jan Huwald // Impressum