25 value.position *=
scale;
26 value.tangent = normalize(
scale * value.tangent);
27 value.normal = normalize(
scale * value.normal);
Definition PathVertex.hpp:14
Scales a path. Keeps tangents and normals unit length.
Definition ScalePath.hpp:15
Impl mTransformPath
Definition ScalePath.hpp:18
typename Impl::Edges Edges
Definition ScalePath.hpp:30
ScalePath(Path path, const Vector3 &scale)
Definition ScalePath.hpp:23
typename Impl::Vertices Vertices
Definition ScalePath.hpp:34
Edges edges() const noexcept
Definition ScalePath.hpp:32
Vertices vertices() const noexcept
Definition ScalePath.hpp:36
Definition AnyGenerator.hpp:12
ScalePath< Path > scalePath(Path path, const Vector3 &scale)
Definition ScalePath.hpp:39
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