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

Scales a path. Keeps tangents and normals unit length. More...

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

Public Types

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

Public Member Functions

 ScalePath (Path path, const Vector3 &scale)
 
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::ScalePath< Path >

Scales a path. Keeps tangents and normals unit length.

Member Typedef Documentation

◆ Edges

◆ Impl

◆ Vertices

Constructor & Destructor Documentation

◆ ScalePath()

template<typename Path >
CeresEngine::MeshGenerator::ScalePath< Path >::ScalePath ( Path  path,
const Vector3 scale 
)
inline
Parameters
pathSource data path.
scaleScale Factor. Must not have zero components!

Member Function Documentation

◆ edges()

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

◆ vertices()

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

Member Data Documentation

◆ mTransformPath

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

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