Unravel Engine C++ Reference
|
#include <plane_mesh.hpp>
Public Types | |
using | triangles_t = typename impl_t::triangles_t |
using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
plane_mesh_t (const gml::dvec2 &size={1.0, 1.0}, const gml::ivec2 &segments={8, 8}) | |
triangles_t | triangles () const noexcept |
vertices_t | vertices () const noexcept |
A plane (rectangular grid) on the xy -plane normal pointing towards z-axis.
Definition at line 11 of file plane_mesh.hpp.
using generator::plane_mesh_t::triangles_t = typename impl_t::triangles_t |
Definition at line 22 of file plane_mesh.hpp.
using generator::plane_mesh_t::vertices_t = typename impl_t::vertices_t |
Definition at line 29 of file plane_mesh.hpp.
plane_mesh_t::plane_mesh_t | ( | const gml::dvec2 & | size = {1.0, 1.0}, |
const gml::ivec2 & | segments = {8, 8} ) |
size | Half of the side length in x (0) and y (1) direction. |
segments | Number of subdivisions in the x (0) and y (1) direction. |
Definition at line 5 of file plane_mesh.cpp.
|
inlinenoexcept |
Definition at line 24 of file plane_mesh.hpp.
|
inlinenoexcept |
Definition at line 31 of file plane_mesh.hpp.