fix thinko and whitespace

This commit is contained in:
Seth Alves 2015-12-21 11:15:54 -08:00
parent 3c2dac5cf8
commit 00e0b26f05

View file

@ -587,16 +587,16 @@ bool SpatiallyNestable::setPuffedQueryAACube() {
_queryAACubeSet = true; _queryAACubeSet = true;
getThisPointer()->forEachDescendant([&](SpatiallyNestablePointer descendant) { getThisPointer()->forEachDescendant([&](SpatiallyNestablePointer descendant) {
bool success; bool success;
AACube descendantAACube = descendant->getQueryAACube(success); AACube descendantAACube = descendant->getQueryAACube(success);
if (success) { if (success) {
if (_queryAACube.contains(currentAACube)) { if (_queryAACube.contains(descendantAACube)) {
return; return;
}
_queryAACube += descendantAACube.getMinimumPoint();
_queryAACube += descendantAACube.getMaximumPoint();
} }
}); _queryAACube += descendantAACube.getMinimumPoint();
_queryAACube += descendantAACube.getMaximumPoint();
}
});
return true; return true;
} }