Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 5 files). Show all
Unified · Split
| @@ -194,7 +194,7 @@ MetavoxelClient::MetavoxelClient(const HifiSockAddr& address) : · 193 unmodified lines | ||
| 194 | 194 | |
| 195 | 195 | void MetavoxelClient::simulate(float deltaTime) { |
| 196 | 196 | Bitstream& out = _sequencer.startPacket(); |
| 197 | − ClientStateMessage state = { glm::vec3(0.5f, 0.5f, 1.0f) }; | |
| 197 | + ClientStateMessage state = { Application::getInstance()->getCamera()->getPosition() }; | |
| 198 | 198 | out << QVariant::fromValue(state); |
| 199 | 199 | _sequencer.endPacket(); |
| 200 | 200 | } |