Commit eee28e0a authored by Lucile Remigy's avatar Lucile Remigy
Browse files

correction request

delete one class, 2 class are the same

add inline to initialize
parent 83444dbc
...@@ -62,7 +62,7 @@ inline bool initialize(OcTreeCollisionTraversalNode& node, ...@@ -62,7 +62,7 @@ inline bool initialize(OcTreeCollisionTraversalNode& node,
const OcTree& model2, const Transform3f& tf2, const OcTree& model2, const Transform3f& tf2,
const OcTreeSolver* otsolver, const OcTreeSolver* otsolver,
CollisionResult& result) CollisionResult& result)
{
node.result = &result; node.result = &result;
node.model1 = &model1; node.model1 = &model1;
......
...@@ -89,7 +89,6 @@ void collisionRecurse(CollisionTraversalNodeBase* node, int b1, int b2, ...@@ -89,7 +89,6 @@ void collisionRecurse(CollisionTraversalNodeBase* node, int b1, int b2,
collisionRecurse(node, b1, c2, front_list, sqrDistLowerBound2); collisionRecurse(node, b1, c2, front_list, sqrDistLowerBound2);
sqrDistLowerBound = std::min (sqrDistLowerBound1, sqrDistLowerBound2); sqrDistLowerBound = std::min (sqrDistLowerBound1, sqrDistLowerBound2);
} }
return;
} }
void collisionNonRecurse(CollisionTraversalNodeBase* node, void collisionNonRecurse(CollisionTraversalNodeBase* node,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment