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
194 194
195void MetavoxelClient::simulate(float deltaTime) {195void 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}