mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 06:32:35 +02:00
comments to AvatarData and avatar-mixer before pack/unpack refactor
This commit is contained in:
parent
a4011934c6
commit
af1071b374
2 changed files with 15 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
#include <iostream>
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <AgentData.h>
|
||||
|
||||
#include <AgentData.h>
|
||||
#include "Orientation.h"
|
||||
|
||||
enum AvatarBones
|
||||
|
|
Loading…
Reference in a new issue