Skip to content
Snippets Groups Projects
Commit e40b533a authored by Andrew Wilson's avatar Andrew Wilson :elephant: Committed by Andrew Wilson
Browse files

BUG: Fix bidirectional sphere to plane

parent 266ea1b3
No related branches found
No related tags found
No related merge requests found
......@@ -288,7 +288,7 @@ testBidirectionalPlaneToSphere(
}
pentrationDepth = r - std::abs(d);
return pentrationDepth < 0.0;
return pentrationDepth > 0.0;
}
///
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment