Skip to content

Commit 009be3b

Browse files
author
phishman3579
committed
Updated comments in the RectangleQuadTree
git-svn-id: https://java-algorithms-implementation.googlecode.com/svn/trunk@393 032fbc0f-8cab-eb90-e552-f08422b9a96a
1 parent a3c8488 commit 009be3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/com/jwetherell/algorithms/data_structures/QuadTree.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ protected boolean insert(AABB b) {
317317
float nextLevelsWidth = aabb.width/2;
318318
if (nextLevelsHeight<b.height && nextLevelsWidth<b.width) {
319319
if (aabb.insideThis(b)) {
320+
// If the aabb completely fits into this aabb.
320321
aabbs.add(b);
321322
return true;
322323
}

0 commit comments

Comments
 (0)