Skip to content

ludus::foundation::geometry::SweepVertex

Ludus Wiki · API overview · Browse API

Struct

One emitted vertex (Rounded).

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/sweep.hpp

#include <ludus/foundation/geometry/sweep.hpp>
struct ludus::foundation::geometry::SweepVertex final

Fields

Position

math::Vector3 ludus::foundation::geometry::SweepVertex::Position {}
Chunk-relative position.

Related types: math::Vector3

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/sweep.hpp

Normal

math::Vector3 ludus::foundation::geometry::SweepVertex::Normal {}
Unit geometric normal of the section (ribbon: frame normal; tube: radial).

Related types: math::Vector3

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/sweep.hpp

Uv

math::Vector2 ludus::foundation::geometry::SweepVertex::Uv {}
U across the section in [0,1]; V is path distance in asset units; caps are planar.

Related types: math::Vector2

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/sweep.hpp