cargo fmt
This commit is contained in:
parent
bb95469f44
commit
0ea4c00151
1 changed files with 6 additions and 5 deletions
|
@ -487,7 +487,8 @@ pub fn apply_input_to_player(
|
||||||
pitch_yaw_rot[1] -= mouse_delta.x / win_res_x;
|
pitch_yaw_rot[1] -= mouse_delta.x / win_res_x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pitch_yaw_rot *= 2.0 * if settings.is_zooming {
|
pitch_yaw_rot *= 2.0
|
||||||
|
* if settings.is_zooming {
|
||||||
settings.zoom_sensitivity_factor
|
settings.zoom_sensitivity_factor
|
||||||
} else {
|
} else {
|
||||||
1.0
|
1.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue