26 std::swap(
edge.vertices[0],
edge.vertices[1]);
45 vertex.tangent *= -1.0;
Will have a type named "Type" that has same type as value returned by method edges() for type Primiti...
Definition Utility.hpp:23
Definition FlipShape.hpp:22
Edge generate() const
Definition FlipShape.hpp:24
void next()
Definition FlipShape.hpp:32
EdgeGeneratorType< TransformShape< Shape > >::Type mEdges
Definition FlipShape.hpp:35
Edges(const TransformShape< Shape > &shape)
Definition FlipShape.hpp:37
bool done() const noexcept
Definition FlipShape.hpp:30
Flips shape direction. Reverses edges and tangents.
Definition FlipShape.hpp:16
typename Impl::Vertices Vertices
Definition FlipShape.hpp:50
Impl mTransformShape
Definition FlipShape.hpp:19
Vertices vertices() const noexcept
Definition FlipShape.hpp:51
FlipShape(Shape shape)
Definition FlipShape.hpp:43
Edges edges() const noexcept
Definition FlipShape.hpp:48
A point on a path.
Definition ShapeVertex.hpp:16
A type that describes a conjunction of shapes that can be filled and stroked.
Definition Shape.hpp:198
Definition AnyGenerator.hpp:12
FlipShape< Shape > flipShape(Shape shape)
Definition FlipShape.hpp:54
auto move(Vector3 position)
Moves a entity to the given position.
Definition Helpers.hpp:22
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25