meizhuolib / box2d

Automatically exported from code.google.com/p/box2d
0 stars 0 forks source link

b2EdgeShape::RayCast normal #318

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add b2EdgeShape to RayCast test.
2. Run RayCast test.
3. Add edge shapes.

What is the expected output? What do you see instead?
The ray cast normals should be perpendicular to edge shape.  Instead, the ray 
cast normals are often not perpendicular.

What version of the product are you using? On what operating system?
Latest version as of this writing (r262).  Windows 7 64 bit.

Please provide any additional information below.

Original issue reported on code.google.com by isaacbu...@gmail.com on 26 Oct 2013 at 6:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've attached a proposed fix.

Original comment by isaacbu...@gmail.com on 26 Oct 2013 at 6:56

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed. Thanks for the report!

Original comment by erinca...@gmail.com on 29 Oct 2013 at 4:16