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:
parent
a39513f2d6
commit
6d1b58b868
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue