mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 11:46:34 +02:00
remove extra parens
This commit is contained in:
parent
25d250898b
commit
99265a5758
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void EntityTreeSendThread::traverseTreeAndSendContents(SharedNodePointer node, O
|
|||
if (_traversal.getCurrentView().cubeIntersectsKeyhole(cube)) {
|
||||
float priority = _conicalView.computePriority(cube);
|
||||
if (priority != PrioritizedEntity::DO_NOT_SEND) {
|
||||
float distance = (glm::distance(cube.calcCenter(), viewPosition) + MIN_VISIBLE_DISTANCE);
|
||||
float distance = glm::distance(cube.calcCenter(), viewPosition) + MIN_VISIBLE_DISTANCE;
|
||||
float apparentAngle = cube.getScale() / distance;
|
||||
if (apparentAngle > MIN_ENTITY_APPARENT_ANGLE * lodScaleFactor) {
|
||||
_sendQueue.push(PrioritizedEntity(entity, priority));
|
||||
|
|
Loading…
Reference in a new issue