diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 8402236d78..27d11a61b6 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -82,7 +82,6 @@ const int STARTUP_JITTER_SAMPLES = PACKET_LENGTH_SAMPLES_PER_CHANNEL / 2; // Startup optimistically with small jitter buffer that // will start playback on the second received audio packet. -static const float SHARED_VOXEL_SYSTEM_TREE_SCALE = 1.0f; void messageHandler(QtMsgType type, const QMessageLogContext& context, const QString &message) { fprintf(stdout, "%s", message.toLocal8Bit().constData()); diff --git a/interface/src/VoxelSystem.h b/interface/src/VoxelSystem.h index 53a083ada9..ed635dae3f 100644 --- a/interface/src/VoxelSystem.h +++ b/interface/src/VoxelSystem.h @@ -95,7 +95,6 @@ public: virtual void nodeDeleted(VoxelNode* node); virtual void nodeAdded(Node* node); virtual void nodeKilled(Node* node); - void setupNewVoxelsForDrawing(); signals: void importSize(float x, float y, float z); @@ -121,6 +120,8 @@ protected: float _treeScale; int _maxVoxels; VoxelTree* _tree; + + void setupNewVoxelsForDrawing(); glm::vec3 computeVoxelVertex(const glm::vec3& startVertex, float voxelScale, int index) const;