mirror of
https://github.com/overte-org/overte.git
synced 2025-06-18 09:40:36 +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();
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue