aboutsummaryrefslogtreecommitdiff
path: root/src/control
diff options
context:
space:
mode:
authorUSER-5 <US3R5@hotmail.com>2023-01-02 21:46:43 +1030
committerGitHub <noreply@github.com>2023-01-02 21:46:43 +1030
commit7d4a7f92fefee0f50bd265454458ade21f98b988 (patch)
treea4cc7f05c288b041d7fede1a6717cd378bbff069 /src/control
parent8456bf148bd7c28c6f745064c532d08f0b1100ac (diff)
downloadrapier-7d4a7f92fefee0f50bd265454458ade21f98b988.tar.gz
rapier-7d4a7f92fefee0f50bd265454458ade21f98b988.tar.bz2
rapier-7d4a7f92fefee0f50bd265454458ade21f98b988.zip
Fix typo in CharacterLength enum doc
Diffstat (limited to 'src/control')
-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