pub struct ConstVec2(_);
Expand description
A trivial “curve” that is just a constant.
Trait Implementations§
source§impl ParamCurve for ConstVec2
impl ParamCurve for ConstVec2
source§fn subsegment(&self, _range: Range<f64>) -> ConstVec2
fn subsegment(&self, _range: Range<f64>) -> ConstVec2
Get a subsegment of the curve for the given parameter range.
source§fn subdivide(&self) -> (Self, Self)
fn subdivide(&self) -> (Self, Self)
Subdivide into (roughly) halves.