Skip to content

Commit 750df59

Browse files
fix indentation
1 parent f289d25 commit 750df59

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/fcl/geometry/octree/octree-inl.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,20 @@ void OcTree<S>::computeLocalAABB()
9191
template <typename S>
9292
AABB<S> OcTree<S>::getOccupiedMetricBV() const
9393
{
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));
9898
}
9999

100100
//==============================================================================
101101
template <typename S>
102102
AABB<S> OcTree<S>::getRootBV() const
103103
{
104-
S delta = (1 << tree->getTreeDepth()) * tree->getResolution() / 2;
104+
S delta = (1 << tree->getTreeDepth()) * tree->getResolution() / 2;
105105

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));
108108
}
109109

110110
//==============================================================================

0 commit comments

Comments
 (0)