mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-21 09:09:36 +08:00
Fix compilation of BVH example
This commit is contained in:
parent
12350d3ac7
commit
f925dba3d9
@ -6,9 +6,7 @@ using namespace Eigen;
|
|||||||
typedef AlignedBox<double, 2> Box2d;
|
typedef AlignedBox<double, 2> Box2d;
|
||||||
|
|
||||||
namespace Eigen {
|
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
|
struct PointPointMinimizer //how to compute squared distances between points and rectangles
|
||||||
|
Loading…
x
Reference in New Issue
Block a user