#pragma once #include #include "common/custom_data/Tfrag3Data.h" #include "goalc/build_level/TexturePool.h" #include "goalc/build_level/collide_common.h" namespace gltf_mesh_extract { struct Input { std::string filename; TexturePool* tex_pool = nullptr; bool get_colors = true; bool auto_wall_enable = true; float auto_wall_angle = 30.f; }; struct TfragOutput { std::vector strip_draws; std::vector vertices; std::vector> color_palette; }; struct CollideOutput { std::vector faces; }; struct Output { TfragOutput tfrag; CollideOutput collide; }; void extract(const Input& in, Output& out); } // namespace gltf_mesh_extract