@@ -91,20 +91,20 @@ void OcTree<S>::computeLocalAABB()
91
91
template <typename S>
92
92
AABB<S> OcTree<S>::getOccupiedMetricBV() const
93
93
{
94
- S x_min, y_min, z_min, x_max, y_max, z_max;
95
- tree->getMetricMin (x_min, y_min, z_min);
96
- tree->getMetricMax (x_max, y_max, z_max);
97
- return AABB<S>(Vector3<S>(x_min, y_min, z_min), Vector3<S>(x_max, y_max, z_max));
94
+ S x_min, y_min, z_min, x_max, y_max, z_max;
95
+ tree->getMetricMin (x_min, y_min, z_min);
96
+ tree->getMetricMax (x_max, y_max, z_max);
97
+ return AABB<S>(Vector3<S>(x_min, y_min, z_min), Vector3<S>(x_max, y_max, z_max));
98
98
}
99
99
100
100
// ==============================================================================
101
101
template <typename S>
102
102
AABB<S> OcTree<S>::getRootBV() const
103
103
{
104
- S delta = (1 << tree->getTreeDepth ()) * tree->getResolution () / 2 ;
104
+ S delta = (1 << tree->getTreeDepth ()) * tree->getResolution () / 2 ;
105
105
106
- // std::cout << "octree size " << delta << std::endl;
107
- return AABB<S>(Vector3<S>(-delta, -delta, -delta), Vector3<S>(delta, delta, delta));
106
+ // std::cout << "octree size " << delta << std::endl;
107
+ return AABB<S>(Vector3<S>(-delta, -delta, -delta), Vector3<S>(delta, delta, delta));
108
108
}
109
109
110
110
// ==============================================================================
0 commit comments