Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::extrude_mesh_t< shape_t, path_t > Class Template Reference

#include <extrude_mesh.hpp>

Classes

class  triangles_t
 
class  vertices_t
 

Public Member Functions

triangles_t triangles () const noexcept
 
vertices_t vertices () const noexcept
 
 extrude_mesh_t (shape_t shape, path_t path)
 

Detailed Description

template<typename shape_t, typename path_t>
class generator::extrude_mesh_t< shape_t, path_t >

Extrude a shape along a path. The shape normal becomes the mesh normal. u-texture coordinate is taken from the shape and v from the path.

Definition at line 18 of file extrude_mesh.hpp.

Constructor & Destructor Documentation

◆ extrude_mesh_t()

template<typename shape_t , typename path_t >
generator::extrude_mesh_t< shape_t, path_t >::extrude_mesh_t ( shape_t shape,
path_t path )
inline
Parameters
shapeshape_t to be extruded.
pathPath to extrude along.

Definition at line 154 of file extrude_mesh.hpp.

Member Function Documentation

◆ triangles()

template<typename shape_t , typename path_t >
triangles_t generator::extrude_mesh_t< shape_t, path_t >::triangles ( ) const
inlinenoexcept

Definition at line 142 of file extrude_mesh.hpp.

◆ vertices()

template<typename shape_t , typename path_t >
vertices_t generator::extrude_mesh_t< shape_t, path_t >::vertices ( ) const
inlinenoexcept

Definition at line 147 of file extrude_mesh.hpp.


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