57 using Edges =
typename Impl::Edges;
Definition PathVertex.hpp:14
double texCoord
Definition PathVertex.hpp:26
Vector3 normal
Unit length vector perpendicular to the path at this point.
Definition PathVertex.hpp:18
Vector3 tangent
Unit length vector parallel to the path at this point.
Definition PathVertex.hpp:24
Vector3 position
Definition PathVertex.hpp:20
Definition ShapeToPath.hpp:26
void next()
Definition ShapeToPath.hpp:45
PathVertex generate() const
Definition ShapeToPath.hpp:28
Vertices(const Shape &shape)
Definition ShapeToPath.hpp:50
VertexGeneratorType< Shape >::Type vertices_
Definition ShapeToPath.hpp:48
bool done() const noexcept
Definition ShapeToPath.hpp:43
Converts a Shape to a Path.
Definition ShapeToPath.hpp:20
Edges edges() const noexcept
Definition ShapeToPath.hpp:59
Vertices vertices() const
Definition ShapeToPath.hpp:61
Impl mShape
Definition ShapeToPath.hpp:23
ShapeToPath(Shape shape)
Definition ShapeToPath.hpp:55
typename Impl::Edges Edges
Definition ShapeToPath.hpp:57
A point on a path.
Definition ShapeVertex.hpp:16
decltype(std::declval< const Primitive * >() ->vertices()) Type
Definition Utility.hpp:39
A type that describes a conjunction of shapes that can be filled and stroked.
Definition Shape.hpp:198
Definition AnyGenerator.hpp:12
ShapeToPath< Shape > shapeToPath(Shape shape)
Definition ShapeToPath.hpp:64
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