Showing the changes to interface/src/main.cpp (1 of 2 files). Show all
Unified · Split
| @@ -429,7 +429,7 @@ void updateAvatar(float frametime) { · 428 unmodified lines | ||
| 429 | 429 | myAvatar.setCameraNearClip(::viewFrustum.getNearClip()); |
| 430 | 430 | myAvatar.setCameraFarClip(::viewFrustum.getFarClip()); |
| 431 | 431 | |
| 432 | − AgentList *agentList = AgentList::getInstance(); | |
| 432 | + AgentList* agentList = AgentList::getInstance(); | |
| 433 | 433 | |
| 434 | 434 | if (agentList->getOwnerID() != UNKNOWN_AGENT_ID) { |
| 435 | 435 | // if I know my ID, send head/hand data to the avatar mixer and voxel server |
| @@ -451,9 +451,9 @@ void updateAvatar(float frametime) { · 15 unmodified lines | ||
| 451 | 451 | glm::vec3 avatarPos = myAvatar.getPosition(); |
| 452 | 452 | |
| 453 | 453 | // For some reason, we don't want to flip X and Z here. |
| 454 | − ::paintingVoxel.x = avatarPos.x/10.0; | |
| 455 | − ::paintingVoxel.y = avatarPos.y/10.0; | |
| 456 | − ::paintingVoxel.z = avatarPos.z/10.0; | |
| 454 | + ::paintingVoxel.x = avatarPos.x / 10.0; | |
| 455 | + ::paintingVoxel.y = avatarPos.y / 10.0; | |
| 456 | + ::paintingVoxel.z = avatarPos.z / 10.0; | |
| 457 | 457 | |
| 458 | 458 | unsigned char* bufferOut; |
| 459 | 459 | int sizeOut; |