aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2023-01-15 12:12:30 +0100
committerGitHub <noreply@github.com>2023-01-15 12:12:30 +0100
commit56aa0f5e732a2f810b5c1d5834905791f542cf48 (patch)
treea4cc7f05c288b041d7fede1a6717cd378bbff069
parent8456bf148bd7c28c6f745064c532d08f0b1100ac (diff)
parent7d4a7f92fefee0f50bd265454458ade21f98b988 (diff)
downloadrapier-56aa0f5e732a2f810b5c1d5834905791f542cf48.tar.gz
rapier-56aa0f5e732a2f810b5c1d5834905791f542cf48.tar.bz2
rapier-56aa0f5e732a2f810b5c1d5834905791f542cf48.zip
Merge pull request #433 from USER-5/patch-1
Fix typo in CharacterLength enum doc
-rw-r--r--src/control/character_controller.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/character_controller.rs b/src/control/character_controller.rs
index 28ba475..3972adc 100644
--- a/src/control/character_controller.rs
+++ b/src/control/character_controller.rs
@@ -17,7 +17,7 @@ pub enum CharacterLength {
/// for a shape with an height equal to 20.0 will result in a maximum step height
/// of `0.1 * 20.0 = 2.0`.
Relative(Real),
- /// The lengt his specified as an aboslute value, independent from the character shape’s size.
+ /// The length is specified as an aboslute value, independent from the character shape’s size.
///
/// For example setting `CharacterAutostep::max_height` to `CharacterLength::Relative(0.1)`
/// for a shape with an height equal to 20.0 will result in a maximum step height