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