Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Unified Diff: lib/src/collision/broadphase/dynamic_tree.dart

Issue 1138063003: pkg/box2d: 0.2.0 release (Closed) Base URL: https://github.com/google/dbox2d.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/collision/shapes/circle_shape.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/collision/broadphase/dynamic_tree.dart
diff --git a/lib/src/collision/broadphase/dynamic_tree.dart b/lib/src/collision/broadphase/dynamic_tree.dart
index 099c6ef408ebc7c64617130a3dacec8fdc9bc15e..556865bff3926ffddce7dfe02d298739205bfdb7 100644
--- a/lib/src/collision/broadphase/dynamic_tree.dart
+++ b/lib/src/collision/broadphase/dynamic_tree.dart
@@ -456,8 +456,7 @@ class DynamicTree implements BroadPhaseStrategy {
// Build a linked list for the free list.
for (int i = _nodeCapacity - 1; i >= _nodeCount; i--) {
_nodes[i] = new DynamicTreeNode(i);
- _nodes[i].parent =
- (i == _nodeCapacity - 1) ? null : _nodes[i + 1];
+ _nodes[i].parent = (i == _nodeCapacity - 1) ? null : _nodes[i + 1];
_nodes[i].height = -1;
}
_freeList = _nodeCount;
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/collision/shapes/circle_shape.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698