Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box2d output should be counter-clockwise. #3

Open
favoyang opened this issue Jul 13, 2010 · 2 comments
Open

Box2d output should be counter-clockwise. #3

favoyang opened this issue Jul 13, 2010 · 2 comments

Comments

@favoyang
Copy link

No description provided.

@druidLike
Copy link

Someone pointed out that ONLY when you 'Scan' for the vertices that winding output incorrectly shows clockwise when it should be counter-clockwise.

@flyingninjas
Copy link

I was gettings this error:

Assertion failed: (area > 1.19209290e-7F), function ComputeCentroid, file /cocos2d-iphone-2.0.tar/external/Box2d/Box2D/Collision/Shapes/b2PolygonShape.cpp, line 115.

until i reversed the points. I recommend just adding an button or something to reverse them.

Anyway, this app is very useful, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants