#ifndef POLYGUN_ENGINE_GREEDY_MERGING_HPP
#define POLYGUN_ENGINE_GREEDY_MERGING_HPP

#include "game/world/chunk.hpp"

namespace polygun::engine {
	struct cuboid {
		int x1, y1, z1, x2, y2, z2, material;
	};

	struct cuboid_list {
		cuboid* cuboids;
		int count;
	};
	class greedy_merging {
	public:
		greedy_merging() = default;
		~greedy_merging() = default;

		cuboid_list merge(world::Chunk& chunk);
	private:

		// greedy merging variables
	};
}


#endif // POLYGUN_ENGINE_GREEDY_MERGING_HPP