CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MeshGenerator::TransformPath< Path > Class Template Reference

Apply a mutator function to each vertex. More...

#include <CeresEngine/Mesh/Generator/TransformPath.hpp>

Classes

class  Vertices
 

Public Types

using Edges = typename Impl::Edges
 

Public Member Functions

 TransformPath (Path path, Function< void(PathVertex &) const > mutate)
 
Vertices vertices () const noexcept
 
Edges edges () const noexcept
 

Private Types

using Impl = Path
 

Private Attributes

Impl mPath
 
Function< void(PathVertex &) constmutate_
 

Detailed Description

template<typename Path>
class CeresEngine::MeshGenerator::TransformPath< Path >

Apply a mutator function to each vertex.

Member Typedef Documentation

◆ Edges

◆ Impl

Constructor & Destructor Documentation

◆ TransformPath()

template<typename Path >
CeresEngine::MeshGenerator::TransformPath< Path >::TransformPath ( Path  path,
Function< void(PathVertex &) const mutate 
)
inline
Parameters
pathSource data path.
mutateCallback function that gets called once per vertex.

Member Function Documentation

◆ edges()

template<typename Path >
Edges CeresEngine::MeshGenerator::TransformPath< Path >::edges ( ) const
inlinenoexcept

◆ vertices()

template<typename Path >
Vertices CeresEngine::MeshGenerator::TransformPath< Path >::vertices ( ) const
inlinenoexcept

Member Data Documentation

◆ mPath

◆ mutate_


The documentation for this class was generated from the following file: