Rename files to match class names

master
Marc Gilleron 2020-01-26 22:43:47 +00:00
parent 8879d9b2e7
commit b937020d16
11 changed files with 27 additions and 27 deletions

View File

@ -1,4 +1,4 @@
#include "voxel_stream_heightmap.h"
#include "voxel_generator_heightmap.h"
#include "../util/array_slice.h"
#include "../util/fixed_array.h"

View File

@ -1,5 +1,5 @@
#ifndef VOXEL_STREAM_HEIGHTMAP_H
#define VOXEL_STREAM_HEIGHTMAP_H
#ifndef VOXEL_GENERATOR_HEIGHTMAP_H
#define VOXEL_GENERATOR_HEIGHTMAP_H
#include "../voxel_buffer.h"
#include "voxel_generator.h"
@ -103,4 +103,4 @@ private:
float _iso_scale = 0.1;
};
#endif // VOXEL_STREAM_HEIGHTMAP_H
#endif // VOXEL_GENERATOR_HEIGHTMAP_H

View File

@ -1,4 +1,4 @@
#include "voxel_stream_image.h"
#include "voxel_generator_image.h"
#include "../util/array_slice.h"
#include "../util/fixed_array.h"

View File

@ -1,7 +1,7 @@
#ifndef HEADER_VOXEL_STREAM_IMAGE
#define HEADER_VOXEL_STREAM_IMAGE
#ifndef HEADER_VOXEL_GENERATOR_IMAGE
#define HEADER_VOXEL_GENERATOR_IMAGE
#include "voxel_stream_heightmap.h"
#include "voxel_generator_heightmap.h"
#include <core/image.h>
// Provides infinite tiling heightmap based on an image
@ -27,4 +27,4 @@ private:
bool _blur_enabled = false;
};
#endif // HEADER_VOXEL_STREAM_IMAGE
#endif // HEADER_VOXEL_GENERATOR_IMAGE

View File

@ -1,4 +1,4 @@
#include "voxel_stream_noise.h"
#include "voxel_generator_noise.h"
void VoxelGeneratorNoise::set_channel(VoxelBuffer::ChannelId channel) {
ERR_FAIL_INDEX(channel, VoxelBuffer::MAX_CHANNELS);

View File

@ -1,5 +1,5 @@
#ifndef VOXEL_STREAM_NOISE_H
#define VOXEL_STREAM_NOISE_H
#ifndef VOXEL_GENERATOR_NOISE_H
#define VOXEL_GENERATOR_NOISE_H
#include "../util/float_buffer_3d.h"
#include "voxel_generator.h"
@ -34,4 +34,4 @@ private:
float _height_range = 300;
};
#endif // VOXEL_STREAM_NOISE_H
#endif // VOXEL_GENERATOR_NOISE_H

View File

@ -1,4 +1,4 @@
#include "voxel_stream_noise_2d.h"
#include "voxel_generator_noise_2d.h"
VoxelGeneratorNoise2D::VoxelGeneratorNoise2D() {
}

View File

@ -1,7 +1,7 @@
#ifndef VOXEL_STREAM_NOISE_2D_H
#define VOXEL_STREAM_NOISE_2D_H
#ifndef VOXEL_GENERATOR_NOISE_2D_H
#define VOXEL_GENERATOR_NOISE_2D_H
#include "voxel_stream_heightmap.h"
#include "voxel_generator_heightmap.h"
#include <modules/opensimplex/open_simplex_noise.h>
class VoxelGeneratorNoise2D : public VoxelGeneratorHeightmap {
@ -25,4 +25,4 @@ private:
Ref<Curve> _curve;
};
#endif // VOXEL_STREAM_NOISE_2D_H
#endif // VOXEL_GENERATOR_NOISE_2D_H

View File

@ -1,4 +1,4 @@
#include "voxel_stream_test.h"
#include "voxel_generator_test.h"
VARIANT_ENUM_CAST(VoxelGeneratorTest::Mode)

View File

@ -1,5 +1,5 @@
#ifndef VOXEL_STREAM_TEST_H
#define VOXEL_STREAM_TEST_H
#ifndef VOXEL_GENERATOR_TEST_H
#define VOXEL_GENERATOR_TEST_H
#include "voxel_generator.h"
@ -48,4 +48,4 @@ private:
Vector3i _pattern_size;
};
#endif // VOXEL_STREAM_TEST_H
#endif // VOXEL_GENERATOR_TEST_H

View File

@ -1,10 +1,10 @@
#include "register_types.h"
#include "edition/voxel_tool.h"
#include "generators/voxel_stream_heightmap.h"
#include "generators/voxel_stream_image.h"
#include "generators/voxel_stream_noise.h"
#include "generators/voxel_stream_noise_2d.h"
#include "generators/voxel_stream_test.h"
#include "generators/voxel_generator_heightmap.h"
#include "generators/voxel_generator_image.h"
#include "generators/voxel_generator_noise.h"
#include "generators/voxel_generator_noise_2d.h"
#include "generators/voxel_generator_test.h"
#include "meshers/blocky/voxel_mesher_blocky.h"
#include "meshers/dmc/voxel_mesher_dmc.h"
#include "meshers/transvoxel/voxel_mesher_transvoxel.h"