|
CeresEngine 0.2.0
A game development framework
|
Apply a mutator function to each vertex. More...
#include <CeresEngine/Mesh/Generator/TransformMesh.hpp>
Classes | |
| class | Vertices |
Public Types | |
| using | Triangles = typename Impl::Triangles |
Public Member Functions | |
| TransformMesh (Mesh mesh, Function< void(MeshVertex &) const > mutate) | |
| Triangles | triangles () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = Mesh |
Private Attributes | |
| Impl | mMesh |
| Function< void(MeshVertex &) const > | mutate_ |
Apply a mutator function to each vertex.
|
private |
| using CeresEngine::MeshGenerator::TransformMesh< Mesh >::Triangles = typename Impl::Triangles |
|
inlineexplicit |
| mesh | Source data mesh. |
| mutate | Callback function that gets called once per vertex. |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |