Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::mirror_mesh_t< Mesh > Class Template Reference

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

#include <mirror_mesh.hpp>

Public Types

using triangles_t = typename impl_t::triangles_t
 
using vertices_t = typename impl_t::vertices_t
 

Public Member Functions

 mirror_mesh_t (Mesh mesh, axis_t axis)
 
triangles_t triangles () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

template<typename Mesh>
class generator::mirror_mesh_t< Mesh >

Duplicates the mesh by mirrorring it along an axis.

Definition at line 13 of file mirror_mesh.hpp.

Member Typedef Documentation

◆ triangles_t

template<typename Mesh >
using generator::mirror_mesh_t< Mesh >::triangles_t = typename impl_t::triangles_t

Definition at line 27 of file mirror_mesh.hpp.

◆ vertices_t

template<typename Mesh >
using generator::mirror_mesh_t< Mesh >::vertices_t = typename impl_t::vertices_t

Definition at line 34 of file mirror_mesh.hpp.

Constructor & Destructor Documentation

◆ mirror_mesh_t()

template<typename Mesh >
generator::mirror_mesh_t< Mesh >::mirror_mesh_t ( Mesh mesh,
axis_t axis )
inline
Parameters
meshSource data mesh.
axisThe axis to mirror along.

Definition at line 22 of file mirror_mesh.hpp.

Member Function Documentation

◆ triangles()

template<typename Mesh >
triangles_t generator::mirror_mesh_t< Mesh >::triangles ( ) const
inlinenoexcept

Definition at line 29 of file mirror_mesh.hpp.

◆ vertices()

template<typename Mesh >
vertices_t generator::mirror_mesh_t< Mesh >::vertices ( ) const
inlinenoexcept

Definition at line 36 of file mirror_mesh.hpp.


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