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

Scales a shape keeping tangents unit length. More...

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

Public Types

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

Public Member Functions

 ScaleShape (Shape shape, const Vector2 &scale)
 
Edges edges () const noexcept
 
Vertices vertices () const noexcept
 

Private Types

using Impl = TransformShape< Shape >
 

Private Attributes

Impl mTransformShape
 

Detailed Description

template<typename Shape>
class CeresEngine::MeshGenerator::ScaleShape< Shape >

Scales a shape keeping tangents unit length.

Member Typedef Documentation

◆ Edges

◆ Impl

◆ Vertices

Constructor & Destructor Documentation

◆ ScaleShape()

template<typename Shape >
CeresEngine::MeshGenerator::ScaleShape< Shape >::ScaleShape ( Shape  shape,
const Vector2 scale 
)
inline
Parameters
shapeSource data shape.
scaleScale factor.

Member Function Documentation

◆ edges()

template<typename Shape >
Edges CeresEngine::MeshGenerator::ScaleShape< Shape >::edges ( ) const
inlinenoexcept

◆ vertices()

template<typename Shape >
Vertices CeresEngine::MeshGenerator::ScaleShape< Shape >::vertices ( ) const
inlinenoexcept

Member Data Documentation

◆ mTransformShape

template<typename Shape >
Impl CeresEngine::MeshGenerator::ScaleShape< Shape >::mTransformShape
private

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