mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-22 21:06:27 +02:00
Debugging
This commit is contained in:
parent
1cf75b37f3
commit
f07714ce5c
3 changed files with 4 additions and 2 deletions
|
@ -142,6 +142,10 @@ double AvatarAgent::getLastHeartbeat() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Property setters
|
// Property setters
|
||||||
|
void AvatarAgent::setActiveSocket(sockaddr activeSocket) {
|
||||||
|
_activeSocket = activeSocket;
|
||||||
|
}
|
||||||
|
|
||||||
void AvatarAgent::setPitch(float pitch) {
|
void AvatarAgent::setPitch(float pitch) {
|
||||||
_pitch = pitch;
|
_pitch = pitch;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <AgentList.h>
|
#include <AgentList.h>
|
||||||
#include <SharedUtil.h>
|
#include <SharedUtil.h>
|
||||||
#include <PacketCodes.h>
|
|
||||||
#include <StdDev.h>
|
#include <StdDev.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
|
@ -534,7 +534,6 @@ void simulateHead(float frametime)
|
||||||
|
|
||||||
// Send my stream of head/hand data to the avatar mixer
|
// Send my stream of head/hand data to the avatar mixer
|
||||||
const int MAX_BROADCAST_STRING = 200;
|
const int MAX_BROADCAST_STRING = 200;
|
||||||
const int AVATAR_SERVER_PORT = 55444;
|
|
||||||
char broadcast_string[MAX_BROADCAST_STRING];
|
char broadcast_string[MAX_BROADCAST_STRING];
|
||||||
int broadcast_bytes = myHead.getBroadcastData(broadcast_string);
|
int broadcast_bytes = myHead.getBroadcastData(broadcast_string);
|
||||||
agentList.getAgentSocket().send(AVATAR_SERVER_IP, AVATAR_SERVER_PORT, broadcast_string, broadcast_bytes);
|
agentList.getAgentSocket().send(AVATAR_SERVER_IP, AVATAR_SERVER_PORT, broadcast_string, broadcast_bytes);
|
||||||
|
|
Loading…
Reference in a new issue