behdad / box2d

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

Mistake in the last line of b2PolygonShape.cpp? #200

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
massData->I = density * I + massData->mass * b2Dot(s, s);

It should be:

massData->I = density * I + massData->mass * b2Dot (massData->center, 
massData->center)

?

Original issue reported on code.google.com by Tapir....@gmail.com on 20 May 2011 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by erinca...@gmail.com on 26 Jun 2011 at 10:47