1#ifndef GENERATOR_UVSWAPMESH_HPP
2#define GENERATOR_UVSWAPMESH_HPP
10template<
typename mesh_t>
20 : transform_mesh_{
std::move(mesh),
23 std::swap(vertex.tex_coord[0], vertex.tex_coord[1]);
32 return transform_mesh_.triangles();
39 return transform_mesh_.vertices();
43template<
typename mesh_t>
Swaps the texture coordinates axis u and v.
typename impl_t::triangles_t triangles_t
typename impl_t::vertices_t vertices_t
uv_swap_mesh_t(mesh_t mesh)
triangles_t triangles() const noexcept
vertices_t vertices() const noexcept
uv_swap_mesh_t< mesh_t > uv_swap_mesh(mesh_t mesh)