25 const auto rotation = rotate(angle);
Rotates a shape around the origin on the xy-plane.
Definition RotateShape.hpp:15
Edges edges() const noexcept
Definition RotateShape.hpp:32
typename Impl::Vertices Vertices
Definition RotateShape.hpp:34
Impl mTransformShape
Definition RotateShape.hpp:18
RotateShape(Shape shape, double angle)
Definition RotateShape.hpp:23
Vertices vertices() const noexcept
Definition RotateShape.hpp:36
typename Impl::Edges Edges
Definition RotateShape.hpp:30
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
RotateShape< Shape > rotateShape(Shape shape, double angle)
Definition RotateShape.hpp:39
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
TVector3< T > transform(const TQuaternion< T > &q, const TVector3< T > &v)
Definition Math.hpp:694