Unravel Engine C++ Reference
|
#include <bezier_mesh.hpp>
Public Types | |
using | triangles_t = typename impl_t::triangles_t |
using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
bezier_mesh_t (const gml::dvec3(&p)[D1][D0], const gml::ivec2 &segments={16, 16}) | |
triangles_t | triangles () const noexcept |
vertices_t | vertices () const noexcept |
A bezier patch with D0xD1 control points.
D0 | Number of control points along the t[0] axis. Must be > 1. |
D1 | Number of control points along the t[1] axis. Must be > 1. |
Definition at line 17 of file bezier_mesh.hpp.
using generator::bezier_mesh_t< D0, D1 >::triangles_t = typename impl_t::triangles_t |
Definition at line 72 of file bezier_mesh.hpp.
using generator::bezier_mesh_t< D0, D1 >::vertices_t = typename impl_t::vertices_t |
Definition at line 79 of file bezier_mesh.hpp.
|
inlineexplicit |
p | Control points |
segments | Number of subdivisions along each axis |
Definition at line 66 of file bezier_mesh.hpp.
|
inlinenoexcept |
Definition at line 74 of file bezier_mesh.hpp.
|
inlinenoexcept |
Definition at line 81 of file bezier_mesh.hpp.