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(); AvatarData *agentData = (AvatarData *)agentToAdd->getLinkedData();
int bytesWritten = sprintf((char *)currentPosition, // int bytesWritten = sprintf((char *)currentPosition,
PACKET_FORMAT, // PACKET_FORMAT,
agentData->getPitch(), // agentData->getPitch(),
agentData->getYaw(), // agentData->getYaw(),
agentData->getRoll(), // agentData->getRoll(),
agentData->getHeadPositionX(), // agentData->getHeadPositionX(),
agentData->getHeadPositionY(), // agentData->getHeadPositionY(),
agentData->getHeadPositionZ(), // agentData->getHeadPositionZ(),
agentData->getLoudness(), // agentData->getLoudness(),
agentData->getAverageLoudness(), // agentData->getAverageLoudness(),
agentData->getHandPositionX(), // agentData->getHandPositionX(),
agentData->getHandPositionY(), // agentData->getHandPositionY(),
agentData->getHandPositionZ()); // agentData->getHandPositionZ());
currentPosition += bytesWritten; // currentPosition += bytesWritten;
return currentPosition; return currentPosition;
} }

View file

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