ludus::foundation::geometry::PreparedSpan¶
Ludus Wiki · API overview · Browse API
Struct
One prepared span with chunk-relative float32 controls.
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
#include <ludus/foundation/geometry/path.hpp>
struct ludus::foundation::geometry::PreparedSpan final
Fields¶
Kind¶
SpanKind ludus::foundation::geometry::PreparedSpan::Kind = SpanKind::Cubic
Line or cubic.
Related types: SpanKind
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
Control¶
core::StaticArray<math::Vector3, SPAN_CONTROL_COUNT> ludus::foundation::geometry::PreparedSpan::Control {}
Chunk-relative controls. A line repeats its endpoints in [1] and [2], so the control hull is the segment.
Related types: SPAN_CONTROL_COUNT · core::StaticArray · math::Vector3
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
DomainWidth¶
float64 ludus::foundation::geometry::PreparedSpan::DomainWidth = 1.0
Source domain width used for continuity scaling.
Related types: float64
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp
SourceElement¶
usize ludus::foundation::geometry::PreparedSpan::SourceElement = 0
Source mapping copied from PathSpanSource.
Related types: usize
Declared in modules/foundation/geometry/include/ludus/foundation/geometry/path.hpp