Unravel Engine C++ Reference
|
Translates the position of each vertex by given amount. More...
#include <translate_shape.hpp>
Public Types | |
using | edges_t = typename impl_t::edges_t |
using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
translate_shape_t (shape_t shape, const gml::dvec2 &delta) | |
edges_t | edges () const noexcept |
vertices_t | vertices () const noexcept |
Translates the position of each vertex by given amount.
Definition at line 13 of file translate_shape.hpp.
using generator::translate_shape_t< shape_t >::edges_t = typename impl_t::edges_t |
Definition at line 31 of file translate_shape.hpp.
using generator::translate_shape_t< shape_t >::vertices_t = typename impl_t::vertices_t |
Definition at line 38 of file translate_shape.hpp.
|
inline |
shape | Source data shape. |
delta | Amount to increment vertex positions. |
Definition at line 22 of file translate_shape.hpp.
|
inlinenoexcept |
Definition at line 33 of file translate_shape.hpp.
|
inlinenoexcept |
Definition at line 40 of file translate_shape.hpp.