diff --git a/crates/bevy_math/src/cubic_splines.rs b/crates/bevy_math/src/cubic_splines.rs index 9f4fc365f7799..249bd517c1568 100644 --- a/crates/bevy_math/src/cubic_splines.rs +++ b/crates/bevy_math/src/cubic_splines.rs @@ -431,7 +431,10 @@ impl CubicSegment { } /// A collection of [`CubicSegment`]s chained into a curve. -#[derive(Clone, Debug, Default, PartialEq)] +/// +/// Use any struct that implements the [`CubicGenerator`] trait to create a new curve, such as +/// [`CubicBezier`]. +#[derive(Clone, Debug, PartialEq)] pub struct CubicCurve { segments: Vec>, }