diff options
author | Gael Guennebaud <g.gael@free.fr> | 2012-06-04 22:01:06 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2012-06-04 22:01:06 +0200 |
commit | cb64e587c559131047906e6b5da2093fa5946fda (patch) | |
tree | 1aff723c6e6f02e4a225e3c72e375079ddb26a55 /unsupported/Eigen/src/BVH | |
parent | 945179b26c952f12ca6ea9ad293330cdde7554a0 (diff) |
Fix kdBVH unit test
Diffstat (limited to 'unsupported/Eigen/src/BVH')
-rw-r--r-- | unsupported/Eigen/src/BVH/KdBVH.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/Eigen/src/BVH/KdBVH.h b/unsupported/Eigen/src/BVH/KdBVH.h index a0f666090..13a154d5c 100644 --- a/unsupported/Eigen/src/BVH/KdBVH.h +++ b/unsupported/Eigen/src/BVH/KdBVH.h @@ -71,7 +71,7 @@ struct get_boxes_helper<ObjectList, VolumeList, int> { * * \param _Scalar The underlying scalar type of the bounding boxes * \param _Dim The dimension of the space in which the hierarchy lives - * \param _Object The object type that lives in the hierarchy. It must have value semantics. Either internal::bounding_box(_Object) must + * \param _Object The object type that lives in the hierarchy. It must have value semantics. Either bounding_box(_Object) must * be defined and return an AlignedBox<_Scalar, _Dim> or bounding boxes must be provided to the tree initializer. * * This class provides a simple (as opposed to optimized) implementation of a bounding volume hierarchy analogous to a Kd-tree. @@ -94,14 +94,14 @@ public: KdBVH() {} - /** Given an iterator range over \a Object references, constructs the BVH. Requires that internal::bounding_box(Object) return a Volume. */ + /** Given an iterator range over \a Object references, constructs the BVH. Requires that bounding_box(Object) return a Volume. */ template<typename Iter> KdBVH(Iter begin, Iter end) { init(begin, end, 0, 0); } //int is recognized by init as not being an iterator type /** Given an iterator range over \a Object references and an iterator range over their bounding boxes, constructs the BVH */ template<typename OIter, typename BIter> KdBVH(OIter begin, OIter end, BIter boxBegin, BIter boxEnd) { init(begin, end, boxBegin, boxEnd); } /** Given an iterator range over \a Object references, constructs the BVH, overwriting whatever is in there currently. - * Requires that internal::bounding_box(Object) return a Volume. */ + * Requires that bounding_box(Object) return a Volume. */ template<typename Iter> void init(Iter begin, Iter end) { init(begin, end, 0, 0); } /** Given an iterator range over \a Object references and an iterator range over their bounding boxes, |