Skip to content

Commit

Permalink
core: remove commented line
Browse files Browse the repository at this point in the history
This is indeed expected as the lower bound has been updated in the collision call.
  • Loading branch information
jcarpent committed Jun 5, 2022
1 parent b364de4 commit a15d13b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/collision_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ void collide(CollisionTraversalNodeBase* node, const CollisionRequest& request,
else
collisionNonRecurse(node, front_list, sqrDistLowerBound);

// TODO(jcarpent): check if it is normal to comment the following line:
// result.updateDistanceLowerBound (sqrt (sqrDistLowerBound));
if (!std::isnan(sqrDistLowerBound)) {
if (sqrDistLowerBound == 0) {
assert(result.distance_lower_bound <= 0);
Expand Down

0 comments on commit a15d13b

Please sign in to comment.