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

Projects vertices on a sphere centered at origin. More...

#include <spherify_mesh.hpp>

Public Types

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

Public Member Functions

 spherify_mesh_t (mesh_t mesh, double radius, double factor)
 
triangles_t triangles () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

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

Projects vertices on a sphere centered at origin.

Definition at line 11 of file spherify_mesh.hpp.

Member Typedef Documentation

◆ triangles_t

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

Definition at line 30 of file spherify_mesh.hpp.

◆ vertices_t

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

Definition at line 37 of file spherify_mesh.hpp.

Constructor & Destructor Documentation

◆ spherify_mesh_t()

template<typename mesh_t >
generator::spherify_mesh_t< mesh_t >::spherify_mesh_t ( mesh_t mesh,
double radius,
double factor )
inline

Definition at line 18 of file spherify_mesh.hpp.

Member Function Documentation

◆ triangles()

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

Definition at line 32 of file spherify_mesh.hpp.

◆ vertices()

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

Definition at line 39 of file spherify_mesh.hpp.


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