| Index: lib/src/collision/shapes/circle_shape.dart
|
| diff --git a/lib/src/collision/shapes/circle_shape.dart b/lib/src/collision/shapes/circle_shape.dart
|
| index b3b0c4034f3f535d5a9faf5b0914835e698d8a21..c26b8b61b7362ce414a31ff77e0f323b2a7b66c3 100644
|
| --- a/lib/src/collision/shapes/circle_shape.dart
|
| +++ b/lib/src/collision/shapes/circle_shape.dart
|
| @@ -175,7 +175,7 @@ class CircleShape extends Shape {
|
|
|
| // inertia about the local origin
|
| // massData.I = massData.mass * (0.5f * _radius * _radius + Vec2.dot(_p, _p));
|
| - massData.I = massData.mass *
|
| - (0.5 * radius * radius + (p.x * p.x + p.y * p.y));
|
| + massData.I =
|
| + massData.mass * (0.5 * radius * radius + (p.x * p.x + p.y * p.y));
|
| }
|
| }
|
|
|