voxelman/meshers/cubic_mesher/voxel_mesher_cubic.h

32 lines
545 B
C
Raw Normal View History

2019-07-13 22:03:23 +02:00
#ifndef VOXEL_MESHER_CUBIC_H
#define VOXEL_MESHER_CUBIC_H
#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"
#include "voxel_cube_points.h"
2019-07-13 22:03:23 +02:00
class VoxelMesherCubic : public VoxelMesher {
GDCLASS(VoxelMesherCubic, VoxelMesher);
public:
float get_ao_strength() const;
void set_ao_strength(float value);
void _add_buffer(Ref<VoxelBuffer> buffer);
2019-07-13 22:03:23 +02:00
VoxelMesherCubic();
~VoxelMesherCubic();
2019-07-13 22:03:23 +02:00
protected:
static void _bind_methods();
private:
float _ao_strength;
2019-07-13 22:03:23 +02:00
};
#endif