aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/BVH
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2012-04-15 11:06:28 +0100
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2012-04-15 11:06:28 +0100
commit3c412183b2d4a131239275f440d15677cc5649b0 (patch)
tree42784a65d3ad0cc4fb912032ecdf9059aad5eb7a /unsupported/Eigen/src/BVH
parent84c93b048ecab7c22291503e68c47b6e3264fbb0 (diff)
Get rid of include directives inside namespace blocks (bug #339).
Diffstat (limited to 'unsupported/Eigen/src/BVH')
-rw-r--r--unsupported/Eigen/src/BVH/BVAlgorithms.h4
-rw-r--r--unsupported/Eigen/src/BVH/KdBVH.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/unsupported/Eigen/src/BVH/BVAlgorithms.h b/unsupported/Eigen/src/BVH/BVAlgorithms.h
index d65a97740..6cba656ff 100644
--- a/unsupported/Eigen/src/BVH/BVAlgorithms.h
+++ b/unsupported/Eigen/src/BVH/BVAlgorithms.h
@@ -25,6 +25,8 @@
#ifndef EIGEN_BVALGORITHMS_H
#define EIGEN_BVALGORITHMS_H
+namespace Eigen {
+
namespace internal {
#ifndef EIGEN_PARSED_BY_DOXYGEN
@@ -301,4 +303,6 @@ typename Minimizer::Scalar BVMinimize(const BVH1 &tree1, const BVH2 &tree2, Mini
return minimum;
}
+} // end namespace Eigen
+
#endif // EIGEN_BVALGORITHMS_H
diff --git a/unsupported/Eigen/src/BVH/KdBVH.h b/unsupported/Eigen/src/BVH/KdBVH.h
index 028b4811e..a0f666090 100644
--- a/unsupported/Eigen/src/BVH/KdBVH.h
+++ b/unsupported/Eigen/src/BVH/KdBVH.h
@@ -25,6 +25,8 @@
#ifndef KDBVH_H_INCLUDED
#define KDBVH_H_INCLUDED
+namespace Eigen {
+
namespace internal {
//internal pair class for the BVH--used instead of std::pair because of alignment
@@ -230,4 +232,6 @@ private:
ObjectList objects;
};
+} // end namespace Eigen
+
#endif //KDBVH_H_INCLUDED