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

Translates the position of each vertex by given amount. More...

#include <translate_mesh.hpp>

Public Types

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

Public Member Functions

 translate_mesh_t (mesh_t mesh, const gml::dvec3 &delta)
 
triangles_t triangles () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

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

Translates the position of each vertex by given amount.

Definition at line 11 of file translate_mesh.hpp.

Member Typedef Documentation

◆ triangles_t

template<typename mesh_t >
using generator::translate_mesh_t< mesh_t >::triangles_t = typename impl_t::triangles_t

Definition at line 29 of file translate_mesh.hpp.

◆ vertices_t

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

Definition at line 36 of file translate_mesh.hpp.

Constructor & Destructor Documentation

◆ translate_mesh_t()

template<typename mesh_t >
generator::translate_mesh_t< mesh_t >::translate_mesh_t ( mesh_t mesh,
const gml::dvec3 & delta )
inline
Parameters
meshSource data mesh.
deltaAmount to increment vertex positions.

Definition at line 20 of file translate_mesh.hpp.

Member Function Documentation

◆ triangles()

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

Definition at line 31 of file translate_mesh.hpp.

◆ vertices()

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

Definition at line 38 of file translate_mesh.hpp.


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