Debugging

This commit is contained in:
Leonardo Murillo 2013-04-09 15:51:08 -06:00
parent 1cf75b37f3
commit f07714ce5c
3 changed files with 4 additions and 2 deletions

View file

@ -142,6 +142,10 @@ double AvatarAgent::getLastHeartbeat() {
}
// Property setters
void AvatarAgent::setActiveSocket(sockaddr activeSocket) {
_activeSocket = activeSocket;
}
void AvatarAgent::setPitch(float pitch) {
_pitch = pitch;
}

View file

@ -19,7 +19,6 @@
#include <limits>
#include <AgentList.h>
#include <SharedUtil.h>
#include <PacketCodes.h>
#include <StdDev.h>
#include <sys/time.h>
#include <sys/socket.h>

View file

@ -534,7 +534,6 @@ void simulateHead(float frametime)
// Send my stream of head/hand data to the avatar mixer
const int MAX_BROADCAST_STRING = 200;
const int AVATAR_SERVER_PORT = 55444;
char broadcast_string[MAX_BROADCAST_STRING];
int broadcast_bytes = myHead.getBroadcastData(broadcast_string);
agentList.getAgentSocket().send(AVATAR_SERVER_IP, AVATAR_SERVER_PORT, broadcast_string, broadcast_bytes);