History

remove extra parens

Andrew Meadows committed 9 years ago

Commit 99265a51 parent 25d25081 file · +1 −1Browse files

Showing the changes to assignment-client/src/entities/EntityTreeSendThread.cpp (1 of 1 file). Show all

Unified · Split

assignment-client/src/entities/EntityTreeSendThread.cpp+1−1
@@ -120,7 +120,7 @@ void EntityTreeSendThread::traverseTreeAndSendContents(SharedNodePointer node, O · 119 unmodified lines
120120 if (_traversal.getCurrentView().cubeIntersectsKeyhole(cube)) {
121121 float priority = _conicalView.computePriority(cube);
122122 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;
124124 float apparentAngle = cube.getScale() / distance;
125125 if (apparentAngle > MIN_ENTITY_APPARENT_ANGLE * lodScaleFactor) {
126126 _sendQueue.push(PrioritizedEntity(entity, priority));