2019-07-13 22:03:23 +02:00
|
|
|
#ifndef VOXEL_MESHER_CUBIC_H
|
|
|
|
#define VOXEL_MESHER_CUBIC_H
|
|
|
|
|
2019-07-17 17:01:12 +02:00
|
|
|
#include "core/color.h"
|
|
|
|
#include "core/math/vector3.h"
|
|
|
|
#include "core/math/vector2.h"
|
|
|
|
|
2019-07-13 22:03:23 +02:00
|
|
|
#include "../voxel_mesher.h"
|
|
|
|
|
2019-07-17 17:01:12 +02:00
|
|
|
#include "voxel_cube_points.h"
|
|
|
|
|
2019-07-13 22:03:23 +02:00
|
|
|
class VoxelMesherCubic : public VoxelMesher {
|
|
|
|
GDCLASS(VoxelMesherCubic, VoxelMesher);
|
|
|
|
|
|
|
|
public:
|
2019-11-18 22:35:08 +01:00
|
|
|
void _add_buffer(Node *p_chunk);
|
2019-07-24 02:14:02 +02:00
|
|
|
|
2019-07-13 22:03:23 +02:00
|
|
|
VoxelMesherCubic();
|
2019-07-17 17:01:12 +02:00
|
|
|
~VoxelMesherCubic();
|
2019-07-13 22:03:23 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|