|
Unravel Engine C++ Reference
|
#include <line_shape.hpp>
Public Types | |
| using | edges_t = typename impl_t::edges_t |
| using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
| line_shape_t (const gml::dvec2 &start={0.0, -1.0}, const gml::dvec2 &end={0.0, 1.0}, int segments=8) | |
| edges_t | edges () const noexcept |
| vertices_t | vertices () const noexcept |
| using generator::line_shape_t::edges_t = typename impl_t::edges_t |
Definition at line 23 of file line_shape.hpp.
| using generator::line_shape_t::vertices_t = typename impl_t::vertices_t |
Definition at line 30 of file line_shape.hpp.
| line_shape_t::line_shape_t | ( | const gml::dvec2 & | start = {0.0, -1.0}, |
| const gml::dvec2 & | end = {0.0, 1.0}, | ||
| int | segments = 8 ) |
| start | Start position |
| end | End position |
| segments | Number of subdivisions |
Definition at line 5 of file line_shape.cpp.
|
inlinenoexcept |
Definition at line 25 of file line_shape.hpp.
|
inlinenoexcept |
Definition at line 32 of file line_shape.hpp.