diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-10-30 16:51:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-30 16:51:16 +0100 |
| commit | 1c7ac223da257b44e53f52975aee2630ec548d6e (patch) | |
| tree | b35de4d3fd8cbda85084051f7a01342a6fe7ea23 | |
| parent | d60177774d06ea7df09c83674d5dea74241f7823 (diff) | |
| parent | 8692af2c61239c430b9242aab8d355f5b516988a (diff) | |
| download | rapier-1c7ac223da257b44e53f52975aee2630ec548d6e.tar.gz rapier-1c7ac223da257b44e53f52975aee2630ec548d6e.tar.bz2 rapier-1c7ac223da257b44e53f52975aee2630ec548d6e.zip | |
Merge pull request #409 from schnippl0r/patch-1
Fixed typos in character_controller.rs
| -rw-r--r-- | src/control/character_controller.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/character_controller.rs b/src/control/character_controller.rs index 3277f41..ebed952 100644 --- a/src/control/character_controller.rs +++ b/src/control/character_controller.rs @@ -13,14 +13,14 @@ use parry::query::{DefaultQueryDispatcher, PersistentQueryDispatcher}; pub enum CharacterLength { /// The length is specified relative to some of the character shape’s size. /// - /// For example setting `CharacterAutostep::max_height` to `CharaceterLentgh::Relative(0.1)` - /// for a shape with an height equal to 20.0 will result in a maximum step heigth + /// 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 /// of `0.1 * 20.0 = 2.0`. Relative(Real), /// The lengt his specified as an aboslute value, independent from the character shape’s size. /// - /// For example setting `CharacterAutostep::max_height` to `CharaceterLentgh::Relative(0.1)` - /// for a shape with an height equal to 20.0 will result in a maximum step heigth + /// 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 /// of `0.1` (the shape height is ignored in for this value). Absolute(Real), } |
