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

#include <axis_flip_mesh.hpp>

Classes

class  triangles_t
 

Public Types

using vertices_t = typename impl_t::vertices_t
 

Public Member Functions

 axis_flip_mesh_t (mesh_t mesh, bool x, bool y, bool z)
 
triangles_t triangles () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

template<typename mesh_t>
class generator::axis_flip_mesh_t< mesh_t >

Flips (mirrors) the mesh along one or more axis. Texture coordinates are not flipped. Also reverses triangle vertex order if needed.

Definition at line 14 of file axis_flip_mesh.hpp.

Member Typedef Documentation

◆ vertices_t

template<typename mesh_t >
using generator::axis_flip_mesh_t< mesh_t >::vertices_t = typename impl_t::vertices_t

Definition at line 95 of file axis_flip_mesh.hpp.

Constructor & Destructor Documentation

◆ axis_flip_mesh_t()

template<typename mesh_t >
generator::axis_flip_mesh_t< mesh_t >::axis_flip_mesh_t ( mesh_t mesh,
bool x,
bool y,
bool z )
inline
Parameters
meshSource data mesh.
xFlip x
yFlip y
zFlip z

Definition at line 58 of file axis_flip_mesh.hpp.

Member Function Documentation

◆ triangles()

template<typename mesh_t >
triangles_t generator::axis_flip_mesh_t< mesh_t >::triangles ( ) const
inlinenoexcept

Definition at line 90 of file axis_flip_mesh.hpp.

◆ vertices()

template<typename mesh_t >
vertices_t generator::axis_flip_mesh_t< mesh_t >::vertices ( ) const
inlinenoexcept

Definition at line 97 of file axis_flip_mesh.hpp.


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