#ifndef NXS_BUILD_H #define NXS_BUILD_H #include "vert_remap.h" #include "crude.h" #include "nexus.h" #include namespace nxs { struct RemapLink { unsigned int rel_vert; unsigned int patch; unsigned int abs_vert; }; void RemapVertices(Crude &crude, VertRemap &vert_remap, VFile &face_remap, std::vector &patch_verts); void NexusAllocate(Crude &crude, nxs::Nexus &nexus, VFile &face_remap, std::vector &patch_faces, std::vector &patch_verts); void NexusFill(Crude &crude, Nexus &nexus, VertRemap &vert_remap, VFile &border_remap); void NexusFixBorder(Nexus &nexus, VFile &border_remap); } #endif