History

More work on client/server communication.

Andrzej Kapolka committed 12 years ago

Commit a08afae1 parent 25b23535 files · +98 −8Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 5 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+1−1
@@ -194,7 +194,7 @@ MetavoxelClient::MetavoxelClient(const HifiSockAddr& address) : · 193 unmodified lines
194194
195195 void MetavoxelClient::simulate(float deltaTime) {
196196 Bitstream& out = _sequencer.startPacket();
197− ClientStateMessage state = { glm::vec3(0.5f, 0.5f, 1.0f) };
197+ ClientStateMessage state = { Application::getInstance()->getCamera()->getPosition() };
198198 out << QVariant::fromValue(state);
199199 _sequencer.endPacket();
200200 }