Unravel Engine C++ Reference
|
Apply a mutator function to each vertex. More...
#include <transform_mesh.hpp>
Classes | |
class | vertices_t |
Public Types | |
using | triangles_t = typename impl_t::triangles_t |
Public Member Functions | |
transform_mesh_t (mesh_t mesh, const std::function< void(mesh_vertex_t &)> &mutate) | |
triangles_t | triangles () const noexcept |
vertices_t | vertices () const noexcept |
Apply a mutator function to each vertex.
Definition at line 14 of file transform_mesh.hpp.
using generator::transform_mesh_t< mesh_t >::triangles_t = typename impl_t::triangles_t |
Definition at line 61 of file transform_mesh.hpp.
|
inlineexplicit |
mesh | Source data mesh. |
mutate | Callback function that gets called once per vertex. |
Definition at line 55 of file transform_mesh.hpp.
|
inlinenoexcept |
Definition at line 63 of file transform_mesh.hpp.
|
inlinenoexcept |
Definition at line 68 of file transform_mesh.hpp.