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

Duplicates the mesh by mirrorring it along an axis. More...

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

Public Types

using Triangles = typename Impl::Triangles
 
using Vertices = typename Impl::Vertices
 

Public Member Functions

 MirrorMesh (Mesh mesh, const Axis axis)
 
Triangles triangles () const noexcept
 
Vertices vertices () const noexcept
 

Private Types

using Impl = MergeMesh< Mesh, AxisFlipMesh< Mesh > >
 

Private Attributes

Impl mMergeMesh
 

Detailed Description

template<typename Mesh>
class CeresEngine::MeshGenerator::MirrorMesh< Mesh >

Duplicates the mesh by mirrorring it along an axis.

Member Typedef Documentation

◆ Impl

◆ Triangles

template<typename Mesh >
using CeresEngine::MeshGenerator::MirrorMesh< Mesh >::Triangles = typename Impl::Triangles

◆ Vertices

template<typename Mesh >
using CeresEngine::MeshGenerator::MirrorMesh< Mesh >::Vertices = typename Impl::Vertices

Constructor & Destructor Documentation

◆ MirrorMesh()

template<typename Mesh >
CeresEngine::MeshGenerator::MirrorMesh< Mesh >::MirrorMesh ( Mesh  mesh,
const Axis  axis 
)
inline
Parameters
meshSource data mesh.
axisThe axis to mirror along.

Member Function Documentation

◆ triangles()

template<typename Mesh >
Triangles CeresEngine::MeshGenerator::MirrorMesh< Mesh >::triangles ( ) const
inlinenoexcept

◆ vertices()

template<typename Mesh >
Vertices CeresEngine::MeshGenerator::MirrorMesh< Mesh >::vertices ( ) const
inlinenoexcept

Member Data Documentation

◆ mMergeMesh

template<typename Mesh >
Impl CeresEngine::MeshGenerator::MirrorMesh< Mesh >::mMergeMesh
private

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