Commit 7f4e1bc8 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Clear fcl collision result before calls to fcl::collide

parent a460f8e5
......@@ -35,6 +35,7 @@ namespace hpp {
namespace {
inline std::size_t collide (const CollisionPairs_t::const_iterator& _colPair,
const fcl::CollisionRequest& req, fcl::CollisionResult& res) {
res.clear();
return fcl::collide (
_colPair->first ->fcl (),
_colPair->second->fcl (),
......
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