Unravel Engine C++ Reference
|
#include <line_path.hpp>
Public Types | |
using | edges_t = typename impl_t::edges_t |
using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
line_path_t (const gml::dvec3 &start={0.0, 0.0, -1.0}, const gml::dvec3 &end={0.0, 0.0, 1.0}, const gml::dvec3 &normal={1.0, 0.0, 0.0}, int segments=8) | |
edges_t | edges () const noexcept |
vertices_t | vertices () const noexcept |
using generator::line_path_t::edges_t = typename impl_t::edges_t |
Definition at line 27 of file line_path.hpp.
using generator::line_path_t::vertices_t = typename impl_t::vertices_t |
Definition at line 34 of file line_path.hpp.
line_path_t::line_path_t | ( | const gml::dvec3 & | start = {0.0, 0.0, -1.0}, |
const gml::dvec3 & | end = {0.0, 0.0, 1.0}, | ||
const gml::dvec3 & | normal = {1.0, 0.0, 0.0}, | ||
int | segments = 8 ) |
start | Start point of the line. |
end | End point of the line. |
normal | Line normal. Should be parallel to the line. |
segments | Number of subdivisions along the line. |
Definition at line 5 of file line_path.cpp.
|
inlinenoexcept |
Definition at line 29 of file line_path.hpp.
|
inlinenoexcept |
Definition at line 36 of file line_path.hpp.