Skip to content

ludus::foundation::math::CubicSample2

Ludus Wiki · API overview · Browse API

Struct

2D position and analytic derivatives at one parameter.

Declared in modules/foundation/math/include/ludus/foundation/math/cubic.hpp

#include <ludus/foundation/math/cubic.hpp>
struct ludus::foundation::math::CubicSample2 final

Fields

Position

Vector2 ludus::foundation::math::CubicSample2::Position
Position at u.

Related types: Vector2

Declared in modules/foundation/math/include/ludus/foundation/math/cubic.hpp

FirstDerivative

Vector2 ludus::foundation::math::CubicSample2::FirstDerivative
d/du, per normalized u.

Related types: Vector2

Declared in modules/foundation/math/include/ludus/foundation/math/cubic.hpp

SecondDerivative

Vector2 ludus::foundation::math::CubicSample2::SecondDerivative
d2/du2, per normalized u squared.

Related types: Vector2

Declared in modules/foundation/math/include/ludus/foundation/math/cubic.hpp