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

Cuts each edge in half. More...

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

Classes

class  Edges
 
class  Vertices
 

Public Member Functions

 SubdivideShape (Shape shape)
 
Edges edges () const noexcept
 
Vertices vertices () const noexcept
 

Private Attributes

Shape mShape
 
Vector< ShapeVertexmVertexCache
 

Detailed Description

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

Cuts each edge in half.

Constructor & Destructor Documentation

◆ SubdivideShape()

template<typename Shape >
CeresEngine::MeshGenerator::SubdivideShape< Shape >::SubdivideShape ( Shape  shape)
inline

Member Function Documentation

◆ edges()

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

◆ vertices()

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

Member Data Documentation

◆ mShape

◆ mVertexCache


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