Skip to main content

lerp_rotation

Function lerp_rotation 

Source
fn lerp_rotation(rot_old: f32, rot: f32) -> f32
Expand description

Vanilla Mth.lerp(0.2, rotO, rot) after wrapping the old angle into range.