24 std::swap(vertex.position[0
u], vertex.position[1u]);
25 std::swap(vertex.tangent[0
u], vertex.tangent[1u]);
Swaps the x and y axis.
Definition AxisSwapShape.hpp:15
typename Impl::Edges Edges
Definition AxisSwapShape.hpp:28
AxisSwapShape(Shape shape)
Definition AxisSwapShape.hpp:22
typename Impl::Vertices Vertices
Definition AxisSwapShape.hpp:31
Vertices vertices() const noexcept
Definition AxisSwapShape.hpp:32
Impl mTransformShape
Definition AxisSwapShape.hpp:18
Edges edges() const noexcept
Definition AxisSwapShape.hpp:29
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
AxisSwapShape< Shape > axisSwapShape(Shape shape)
Definition AxisSwapShape.hpp:35
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