25 value.position *=
scale;
26 value.tangent = normalize(
scale * value.tangent);
Scales a shape keeping tangents unit length.
Definition ScaleShape.hpp:15
typename Impl::Edges Edges
Definition ScaleShape.hpp:29
Vertices vertices() const noexcept
Definition ScaleShape.hpp:35
ScaleShape(Shape shape, const Vector2 &scale)
Definition ScaleShape.hpp:23
typename Impl::Vertices Vertices
Definition ScaleShape.hpp:33
Edges edges() const noexcept
Definition ScaleShape.hpp:31
Impl mTransformShape
Definition ScaleShape.hpp:18
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
ScaleShape< Shape > scaleShape(Shape shape, const Vector2 &scale)
Definition ScaleShape.hpp:38
auto move(Vector3 position)
Moves a entity to the given position.
Definition Helpers.hpp:22
auto scale(Vector3 scale)
Applies a scale to the entity.
Definition Helpers.hpp:32
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25