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

Translates the position of each vertex by given amount. More...

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

Public Types

using Edges = typename Impl::Edges
 
using Vertices = typename Impl::Vertices
 

Public Member Functions

 TranslatePath (Path path, const Vector3 &delta)
 
Edges edges () const noexcept
 
Vertices vertices () const noexcept
 

Private Types

using Impl = TransformPath< Path >
 

Private Attributes

Impl mTransformPath
 

Detailed Description

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

Translates the position of each vertex by given amount.

Member Typedef Documentation

◆ Edges

◆ Impl

◆ Vertices

Constructor & Destructor Documentation

◆ TranslatePath()

template<typename Path >
CeresEngine::MeshGenerator::TranslatePath< Path >::TranslatePath ( Path  path,
const Vector3 delta 
)
inline
Parameters
pathSource data path.
deltaAmount to increment each vertex position.

Member Function Documentation

◆ edges()

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

◆ vertices()

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

Member Data Documentation

◆ mTransformPath

template<typename Path >
Impl CeresEngine::MeshGenerator::TranslatePath< Path >::mTransformPath
private

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