mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 08:48:43 +02:00
add a comment about usesFrustum check in EntityTreeElement
This commit is contained in:
parent
33378ede5c
commit
543d0ce77e
1 changed files with 2 additions and 0 deletions
|
@ -332,6 +332,8 @@ OctreeElement::AppendState EntityTreeElement::appendElementData(OctreePacketData
|
|||
entityTreeElementExtraEncodeData->entities.contains(entity->getEntityItemID());
|
||||
}
|
||||
|
||||
// we only check the bounds against our frustum and LOD if the query has asked us to check against the frustum
|
||||
// which can sometimes not be the case when JSON filters are sent
|
||||
if (params.usesFrustum && (includeThisEntity || params.recurseEverything)) {
|
||||
|
||||
// we want to use the maximum possible box for this, so that we don't have to worry about the nuance of
|
||||
|
|
Loading…
Reference in a new issue