Skip to content

ludus::foundation::math::CubicBezier2

Ludus Wiki · API overview · Browse API

Struct

2D cubic Bezier span over normalized u in [0,1].

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

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

Fields

Control

Vector2 ludus::foundation::math::CubicBezier2::Control[4][4] {}
Bezier controls; Control[0] and Control[3] are the endpoints.

Related types: Vector2

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