diff options
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. |
