1#ifndef GENERATOR_TRANSLATOR_HPP
2#define GENERATOR_TRANSLATOR_HPP
13template<
typename mesh_t>
17 using impl_t = mesh_t;
26 auto vertex = vertices_.generate();
27 mesh_->mutate_(vertex);
33 return vertices_.done();
56 : mesh_{
std::move(mesh)}
57 , mutate_{
std::move(mutate)}
65 return mesh_.triangles();
77template<
typename mesh_t>
transform_mesh_t< mesh_t > transform_mesh(mesh_t mesh, std::function< void(mesh_vertex_t &)> mutate)