mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-14 10:17:20 +01:00
27 lines
441 B
C++
27 lines
441 B
C++
#ifndef VOXEL_MESHER_CUBIC_H
|
|
#define VOXEL_MESHER_CUBIC_H
|
|
|
|
#include "core/color.h"
|
|
#include "core/math/vector3.h"
|
|
#include "core/math/vector2.h"
|
|
|
|
#include "../voxel_mesher.h"
|
|
|
|
#include "voxel_cube_points.h"
|
|
|
|
class VoxelMesherCubic : public VoxelMesher {
|
|
GDCLASS(VoxelMesherCubic, VoxelMesher);
|
|
|
|
public:
|
|
void _add_buffer(VoxelChunk *chunk);
|
|
|
|
VoxelMesherCubic();
|
|
~VoxelMesherCubic();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
};
|
|
|
|
#endif
|