mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
parent
b4ffb7ab7d
commit
d016e52843
2 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ where
|
|||
|
||||
/// A [`Curve`] mapping the [unit interval] to itself.
|
||||
///
|
||||
/// This leads to a cruve with sudden jumps at the step points and segments with constant values
|
||||
/// This leads to a curve with sudden jumps at the step points and segments with constant values
|
||||
/// everywhere else.
|
||||
///
|
||||
/// It uses the function `f(n,t) = round(t * n) / n`
|
||||
|
|
|
@ -127,7 +127,7 @@ impl std::fmt::Display for SplineMode {
|
|||
}
|
||||
|
||||
/// The current cycling mode, which determines whether the control points should be interpolated
|
||||
/// cylically (to make a loop).
|
||||
/// cyclically (to make a loop).
|
||||
#[derive(Clone, Copy, Resource, Default)]
|
||||
enum CyclingMode {
|
||||
#[default]
|
||||
|
|
Loading…
Reference in a new issue