From 72957670ba14c9130e0a3e42378bbfca18857ecb Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Thu, 19 Mar 2015 09:55:03 -0700 Subject: [PATCH] Some commentary --- assignment-client/src/avatars/AvatarMixer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assignment-client/src/avatars/AvatarMixer.cpp b/assignment-client/src/avatars/AvatarMixer.cpp index bd0239cdc8..151a9f8861 100644 --- a/assignment-client/src/avatars/AvatarMixer.cpp +++ b/assignment-client/src/avatars/AvatarMixer.cpp @@ -145,6 +145,10 @@ void AvatarMixer::broadcastAvatarData() { AvatarData& avatar = nodeData->getAvatar(); glm::vec3 myPosition = avatar.getPosition(); + // TODO use this along with the distance in the calculation of whether to send an update + // about a given otherNode to this node + // FIXME does this mean we should sort the othernodes by distance before iterating + // over them? float outputBandwidth = node->getBandwidthRecorder().getTotalAverageOutputKilobitsPerSecond(); // this is an AGENT we have received head data from