diff options
| author | mat <git@matdoes.dev> | 2026-01-18 09:50:45 -1245 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-19 05:35:49 +0700 |
| commit | 268c62587e090c72b67a29e1cc42cda6c9d7340b (patch) | |
| tree | 961d0b4d0bd22d17f4ad6c8b77f02f02566b838e /azalea-entity/src | |
| parent | fb92f65b3da49b6487bf6fa05010b12a3ab5d4ed (diff) | |
| download | azalea-drasl-268c62587e090c72b67a29e1cc42cda6c9d7340b.tar.xz | |
add simulation-based pathfinder execution engine
Diffstat (limited to 'azalea-entity/src')
| -rw-r--r-- | azalea-entity/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs index 87e249c1..fab973b1 100644 --- a/azalea-entity/src/lib.rs +++ b/azalea-entity/src/lib.rs @@ -182,7 +182,7 @@ impl LookDirection { pub fn update(&mut self, new: LookDirection) { self.update_with_sensitivity(new, 1.); } - /// Update the `y_rot` to the given value, in degrees. + /// Update the `y_rot` (yaw) to the given value, in degrees. /// /// This is a shortcut for [`Self::update`] while keeping the `x_rot` the /// same. @@ -192,7 +192,7 @@ impl LookDirection { x_rot: self.x_rot, }); } - /// Update the `x_rot` to the given value, in degrees. + /// Update the `x_rot` (pitch) to the given value, in degrees. /// /// This is a shortcut for [`Self::update`] while keeping the `y_rot` the /// same. |
