comments to AvatarData and avatar-mixer before pack/unpack refactor

This commit is contained in:
Stephen Birarda 2013-04-15 16:07:46 -07:00
parent a4011934c6
commit af1071b374
2 changed files with 15 additions and 15 deletions

View file

@ -42,21 +42,21 @@ unsigned char *addAgentToBroadcastPacket(unsigned char *currentPosition, Agent *
AvatarData *agentData = (AvatarData *)agentToAdd->getLinkedData();
int bytesWritten = sprintf((char *)currentPosition,
PACKET_FORMAT,
agentData->getPitch(),
agentData->getYaw(),
agentData->getRoll(),
agentData->getHeadPositionX(),
agentData->getHeadPositionY(),
agentData->getHeadPositionZ(),
agentData->getLoudness(),
agentData->getAverageLoudness(),
agentData->getHandPositionX(),
agentData->getHandPositionY(),
agentData->getHandPositionZ());
// int bytesWritten = sprintf((char *)currentPosition,
// PACKET_FORMAT,
// agentData->getPitch(),
// agentData->getYaw(),
// agentData->getRoll(),
// agentData->getHeadPositionX(),
// agentData->getHeadPositionY(),
// agentData->getHeadPositionZ(),
// agentData->getLoudness(),
// agentData->getAverageLoudness(),
// agentData->getHandPositionX(),
// agentData->getHandPositionY(),
// agentData->getHandPositionZ());
currentPosition += bytesWritten;
// currentPosition += bytesWritten;
return currentPosition;
}

View file

@ -12,8 +12,8 @@
#include <iostream>
#include <glm/glm.hpp>
#include <AgentData.h>
#include <AgentData.h>
#include "Orientation.h"
enum AvatarBones