add a comment about usesFrustum check in EntityTreeElement

This commit is contained in:
Stephen Birarda 2017-01-24 16:36:44 -08:00
parent 33378ede5c
commit 543d0ce77e

View file

@ -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