pandemonium_engine/modules/terraman/meshers/default/terrain_mesher_default.h

33 lines
623 B
C++
Raw Normal View History

2022-03-17 22:33:22 +01:00
#ifndef TERRAIN_MESHER_DEFAULT_H
#define TERRAIN_MESHER_DEFAULT_H
2023-12-17 22:59:50 +01:00
2022-08-17 11:38:15 +02:00
#include "core/math/color.h"
#include "core/math/vector2.h"
#include "core/math/vector3.h"
#include "../terrain_mesher.h"
class TerrainMesherDefault : public TerrainMesher {
GDCLASS(TerrainMesherDefault, TerrainMesher);
public:
int get_build_flags() const;
void set_build_flags(const int flags);
TerrainMesherDefault();
~TerrainMesherDefault();
protected:
virtual void _bake_colors(Ref<TerrainChunk> p_chunk);
virtual void _bake_liquid_colors(Ref<TerrainChunk> p_chunk);
static void _bind_methods();
private:
int _build_flags;
};
#endif