Skip to main content

finite_rotation

Function finite_rotation 

Source
pub(super) const fn finite_rotation(
    (yaw, pitch): (f32, f32),
    (own_yaw, own_pitch): (f32, f32),
) -> (f32, f32)
Expand description

Keeps own for a component that is not finite, since vanilla discards such a rotation.