mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:24:08 +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
|
||||
void AvatarAgent::setActiveSocket(sockaddr activeSocket) {
|
||||
_activeSocket = activeSocket;
|
||||
}
|
||||
|
||||
void AvatarAgent::setPitch(float pitch) {
|
||||
_pitch = pitch;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue