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 | void MetavoxelClient::simulate(float deltaTime) { | 195 | void MetavoxelClient::simulate(float deltaTime) { |
| 196 | Bitstream& out = _sequencer.startPacket(); | 196 | Bitstream& out = _sequencer.startPacket(); |
| 197 | ClientStateMessage state = { glm::vec3(0.5f, 0.5f, 1.0f) }; | 197 | ClientStateMessage state = { Application::getInstance()->getCamera()->getPosition() }; |
| 198 | out << QVariant::fromValue(state); | 198 | out << QVariant::fromValue(state); |
| 199 | _sequencer.endPacket(); | 199 | _sequencer.endPacket(); |
| 200 | } | 200 | } |