mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:37:35 +02:00
fix logic typo
This commit is contained in:
parent
f964df6c97
commit
acef6642c9
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ OctreeElement::AppendState EntityTreeElement::appendElementData(OctreePacketData
|
||||||
// frustum culling on rendering.
|
// frustum culling on rendering.
|
||||||
bool success;
|
bool success;
|
||||||
AACube entityCube = entity->getQueryAACube(success);
|
AACube entityCube = entity->getQueryAACube(success);
|
||||||
if (!success || params.viewFrustum->cubeIntersectsKeyhole(entityCube)) {
|
if (!success || !params.viewFrustum->cubeIntersectsKeyhole(entityCube)) {
|
||||||
includeThisEntity = false; // out of view, don't include it
|
includeThisEntity = false; // out of view, don't include it
|
||||||
} else {
|
} else {
|
||||||
// Check the size of the entity, it's possible that a "too small to see" entity is included in a
|
// Check the size of the entity, it's possible that a "too small to see" entity is included in a
|
||||||
|
|
Loading…
Reference in a new issue