mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:13:15 +02:00
fix thinko and whitespace
This commit is contained in:
parent
3c2dac5cf8
commit
00e0b26f05
1 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue