Skip to content

Commit

Permalink
Spelling (#15686)
Browse files Browse the repository at this point in the history
Fix two spelling mistakes
  • Loading branch information
LiamGallagher737 authored Oct 7, 2024
1 parent b4ffb7a commit d016e52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_math/src/curve/easing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion examples/math/cubic_splines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d016e52

Please sign in to comment.