code review cleanup

This commit is contained in:
ZappoMan 2013-04-22 15:07:46 -07:00
parent 1b52bb4e20
commit 7c73964836
2 changed files with 4 additions and 16 deletions

View file

@ -91,18 +91,11 @@ int AvatarData::getBroadcastData(unsigned char* destinationBuffer) {
memcpy(destinationBuffer, &_cameraFarClip, sizeof(_cameraFarClip));
destinationBuffer += sizeof(_cameraFarClip);
//printLog("%f, %f, %f\n", _handPosition.x, _handPosition.y, _handPosition.z);
//printf("AvatarData::getBroadcastData() numBytes=%ld\n",(destinationBuffer - bufferStart));
return destinationBuffer - bufferStart;
}
// called on the other agents - assigns it to my views of the others
void AvatarData::parseData(unsigned char* sourceBuffer, int numBytes) {
//printf("AvatarData::parseData() numBytes=%d\n",numBytes);
// increment to push past the packet header
sourceBuffer++;
@ -133,11 +126,6 @@ void AvatarData::parseData(unsigned char* sourceBuffer, int numBytes) {
sourceBuffer += sizeof(_cameraNearClip);
memcpy(&_cameraFarClip, sourceBuffer, sizeof(_cameraFarClip));
sourceBuffer += sizeof(_cameraFarClip);
//printLog( "_bodyYaw = %f", _bodyYaw );
//printLog("%f, %f, %f\n", _handPosition.x, _handPosition.y, _handPosition.z);
//printLog("%f, %f, %f\n", _bodyPosition.x, _bodyPosition.y, _bodyPosition.z);
}
glm::vec3 AvatarData::getBodyPosition() {