mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:13:29 +02:00
test
This commit is contained in:
parent
aa9783a88d
commit
570d2e104a
1 changed files with 4 additions and 4 deletions
|
@ -65,8 +65,8 @@ int AvatarData::getBroadcastData(unsigned char* destinationBuffer) {
|
||||||
destinationBuffer += sizeof(float) * 3;
|
destinationBuffer += sizeof(float) * 3;
|
||||||
|
|
||||||
// Lookat Position
|
// Lookat Position
|
||||||
memcpy(destinationBuffer, &_lookatPosition, sizeof(float) * 3);
|
//memcpy(destinationBuffer, &_lookatPosition, sizeof(float) * 3);
|
||||||
destinationBuffer += sizeof(float) * 3;
|
//destinationBuffer += sizeof(float) * 3;
|
||||||
|
|
||||||
// Hand State (0 = not grabbing, 1 = grabbing)
|
// Hand State (0 = not grabbing, 1 = grabbing)
|
||||||
memcpy(destinationBuffer, &_handState, sizeof(char));
|
memcpy(destinationBuffer, &_handState, sizeof(char));
|
||||||
|
@ -151,8 +151,8 @@ int AvatarData::parseData(unsigned char* sourceBuffer, int numBytes) {
|
||||||
sourceBuffer += sizeof(float) * 3;
|
sourceBuffer += sizeof(float) * 3;
|
||||||
|
|
||||||
// Lookat Position
|
// Lookat Position
|
||||||
memcpy(&_lookatPosition, sourceBuffer, sizeof(float) * 3);
|
//memcpy(&_lookatPosition, sourceBuffer, sizeof(float) * 3);
|
||||||
sourceBuffer += sizeof(float) * 3;
|
//sourceBuffer += sizeof(float) * 3;
|
||||||
|
|
||||||
// Hand State
|
// Hand State
|
||||||
memcpy(&_handState, sourceBuffer, sizeof(char));
|
memcpy(&_handState, sourceBuffer, sizeof(char));
|
||||||
|
|
Loading…
Reference in a new issue