Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschmeisser committed Mar 2, 2019
1 parent f289d25 commit 750df59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/fcl/geometry/octree/octree-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ void OcTree<S>::computeLocalAABB()
template <typename S>
AABB<S> OcTree<S>::getOccupiedMetricBV() const
{
S x_min, y_min, z_min, x_max, y_max, z_max;
tree->getMetricMin(x_min, y_min, z_min);
tree->getMetricMax(x_max, y_max, z_max);
return AABB<S>(Vector3<S>(x_min, y_min, z_min), Vector3<S>(x_max, y_max, z_max));
S x_min, y_min, z_min, x_max, y_max, z_max;
tree->getMetricMin(x_min, y_min, z_min);
tree->getMetricMax(x_max, y_max, z_max);
return AABB<S>(Vector3<S>(x_min, y_min, z_min), Vector3<S>(x_max, y_max, z_max));
}

//==============================================================================
template <typename S>
AABB<S> OcTree<S>::getRootBV() const
{
S delta = (1 << tree->getTreeDepth()) * tree->getResolution() / 2;
S delta = (1 << tree->getTreeDepth()) * tree->getResolution() / 2;

// std::cout << "octree size " << delta << std::endl;
return AABB<S>(Vector3<S>(-delta, -delta, -delta), Vector3<S>(delta, delta, delta));
// std::cout << "octree size " << delta << std::endl;
return AABB<S>(Vector3<S>(-delta, -delta, -delta), Vector3<S>(delta, delta, delta));
}

//==============================================================================
Expand Down

0 comments on commit 750df59

Please sign in to comment.