summaryrefslogtreecommitdiffhomepage
path: root/eigen/unsupported/doc/examples/BVH_Example.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/unsupported/doc/examples/BVH_Example.cpp')
-rw-r--r--eigen/unsupported/doc/examples/BVH_Example.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/eigen/unsupported/doc/examples/BVH_Example.cpp b/eigen/unsupported/doc/examples/BVH_Example.cpp
index 6b6fac0..afb0c94 100644
--- a/eigen/unsupported/doc/examples/BVH_Example.cpp
+++ b/eigen/unsupported/doc/examples/BVH_Example.cpp
@@ -6,9 +6,7 @@ using namespace Eigen;
typedef AlignedBox<double, 2> Box2d;
namespace Eigen {
- namespace internal {
- Box2d bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a single point
- }
+ Box2d bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a single point
}
struct PointPointMinimizer //how to compute squared distances between points and rectangles