Skip to main content
rotate_if_necessary
steel_
core
0.15.2+mc26.2
In steel_
core::
entity::
ai::
control
steel_core
::
entity
::
ai
::
control
Function
rotate_
if_
necessary
Copy item path
Source
pub(crate) fn rotate_if_necessary( base_angle:
f32
, target_angle:
f32
, max_angle_diff:
f32
, ) ->
f32