Program Listing for File polyhedron_mesh_processor.h
↰ Return to documentation for file (src/polyhedron/polyhedron_mesh_processor.h)
#pragma once
#include "misc/types.h"
#include "primitives/hexagon.h"
#include "primitives/pentagon.h"
#include "tal/material.h"
#include "tal/reference.h"
namespace sota {
class Polyhedron;
class PolygonWrapper;
class PolyhedronProcessor {
public:
virtual ~PolyhedronProcessor() = default;
virtual void configure_hexagon(PolygonWrapper &wrapper, Biome biome, int &id, Ref<ShaderMaterial> mat,
Polyhedron &polyhedron_mesh) = 0;
virtual void configure_pentagon(PolygonWrapper &wrapper, Biome biome, int &id, Ref<ShaderMaterial> mat,
Polyhedron &polyhedron_mesh) = 0;
virtual void process(Polyhedron &polyhedron_mesh) = 0;
};
} // namespace sota