diff --git a/crates/bevy_math/src/cubic_splines.rs b/crates/bevy_math/src/cubic_splines.rs index b2edff78f581c..249bd517c1568 100644 --- a/crates/bevy_math/src/cubic_splines.rs +++ b/crates/bevy_math/src/cubic_splines.rs @@ -431,6 +431,9 @@ impl CubicSegment { } /// A collection of [`CubicSegment`]s chained into a curve. +/// +/// 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>,