mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:17:02 +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
|
// Startup optimistically with small jitter buffer that
|
||||||
// will start playback on the second received audio packet.
|
// 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) {
|
void messageHandler(QtMsgType type, const QMessageLogContext& context, const QString &message) {
|
||||||
fprintf(stdout, "%s", message.toLocal8Bit().constData());
|
fprintf(stdout, "%s", message.toLocal8Bit().constData());
|
||||||
|
|
|
@ -95,7 +95,6 @@ public:
|
||||||
virtual void nodeDeleted(VoxelNode* node);
|
virtual void nodeDeleted(VoxelNode* node);
|
||||||
virtual void nodeAdded(Node* node);
|
virtual void nodeAdded(Node* node);
|
||||||
virtual void nodeKilled(Node* node);
|
virtual void nodeKilled(Node* node);
|
||||||
void setupNewVoxelsForDrawing();
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void importSize(float x, float y, float z);
|
void importSize(float x, float y, float z);
|
||||||
|
@ -121,6 +120,8 @@ protected:
|
||||||
float _treeScale;
|
float _treeScale;
|
||||||
int _maxVoxels;
|
int _maxVoxels;
|
||||||
VoxelTree* _tree;
|
VoxelTree* _tree;
|
||||||
|
|
||||||
|
void setupNewVoxelsForDrawing();
|
||||||
|
|
||||||
glm::vec3 computeVoxelVertex(const glm::vec3& startVertex, float voxelScale, int index) const;
|
glm::vec3 computeVoxelVertex(const glm::vec3& startVertex, float voxelScale, int index) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue