void add_face(mesh_t& mesh, const mesh_vertex_coord_t& p1, const mesh_vertex_coord_t& p2, const mesh_vertex_coord_t& p3, const mesh_vertex_coord_t& p4) { mesh.emplace_back(p1, p2, p3); mesh.emplace_back(p3, p4, p1); }