Showing the changes to assignment-client/src/entities/EntityTreeSendThread.cpp (1 of 1 file). Show all
Unified · Split
| @@ -120,7 +120,7 @@ void EntityTreeSendThread::traverseTreeAndSendContents(SharedNodePointer node, O · 119 unmodified lines | ||
| 120 | 120 | if (_traversal.getCurrentView().cubeIntersectsKeyhole(cube)) { |
| 121 | 121 | float priority = _conicalView.computePriority(cube); |
| 122 | 122 | if (priority != PrioritizedEntity::DO_NOT_SEND) { |
| 123 | − float distance = (glm::distance(cube.calcCenter(), viewPosition) + MIN_VISIBLE_DISTANCE); | |
| 123 | + float distance = glm::distance(cube.calcCenter(), viewPosition) + MIN_VISIBLE_DISTANCE; | |
| 124 | 124 | float apparentAngle = cube.getScale() / distance; |
| 125 | 125 | if (apparentAngle > MIN_ENTITY_APPARENT_ANGLE * lodScaleFactor) { |
| 126 | 126 | _sendQueue.push(PrioritizedEntity(entity, priority)); |