1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

fix rotations

This commit is contained in:
Ubuntu 2022-11-02 16:03:30 +00:00
parent a39513f2d6
commit 6d1b58b868

View file

@ -236,8 +236,8 @@ impl Client {
player_entity.jumping
}
/// Sets your rotation. `y_rot` is pitch (looking up and down), `x_rot` is
/// yaw (looking to the side). You can get these numbers from the vanilla
/// Sets your rotation. `y_rot` is yaw (looking to the side), `x_rot` is
/// pitch (looking up and down). You can get these numbers from the vanilla
/// f3 screen.
pub fn set_rotation(&mut self, y_rot: f32, x_rot: f32) {
let mut player_entity = self.entity_mut();