You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Make an edge polygon
2. Trace a ray through it
What is the expected output? What do you see instead?
Test should always pass, but it passes only sometimes.
What version of the product are you using? On what operating system?
rev22, Windows, VC++2008
Please provide any additional information below.
The bug is between the 249 and 252 lines of b2PolygonShape.cpp
if (upper < lower)
{
return;
}
In case of edged polygon upper is equal to lower excluding floating point
error. Due to this error the test passes/fails randomly
Possible solution is to use "upper - level < EPSILON" or to process the
case of 2 vertices (an edge) separately.
Original issue reported on code.google.com by dipya...@gmail.com on 15 Oct 2009 at 9:49
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
dipya...@gmail.com
on 15 Oct 2009 at 9:49The text was updated successfully, but these errors were encountered: