mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 06:03:26 +02:00
Some code reformating
This commit is contained in:
parent
1dc8d8dd0c
commit
fc991bf1ac
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue