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

Swaps any number of axis in the mesh. More...

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

Classes

class  Triangles
 

Public Types

using Vertices = typename Impl::Vertices
 

Public Member Functions

 AxisSwapMesh (Mesh mesh, Axis x, Axis y, Axis z)
 
Triangles triangles () const noexcept
 
Vertices vertices () const noexcept
 

Private Types

using Impl = TransformMesh< Mesh >
 

Private Attributes

Impl mTransformMesh
 
bool mFlip
 

Detailed Description

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

Swaps any number of axis in the mesh.

Member Typedef Documentation

◆ Impl

◆ Vertices

Constructor & Destructor Documentation

◆ AxisSwapMesh()

template<typename Mesh >
CeresEngine::MeshGenerator::AxisSwapMesh< Mesh >::AxisSwapMesh ( Mesh  mesh,
Axis  x,
Axis  y,
Axis  z 
)
inline
Parameters
meshSource data mesh.
xAxis to be used as the x-axis
yAxis to be used as the y-axis
zAxis to be used as the z-axis

Member Function Documentation

◆ triangles()

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

◆ vertices()

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

Member Data Documentation

◆ mFlip

◆ mTransformMesh

template<typename Mesh >
Impl CeresEngine::MeshGenerator::AxisSwapMesh< Mesh >::mTransformMesh
private

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