Skip to main content

skew_local_tans

Function skew_local_tans 

Source
pub fn skew_local_tans(skew_x_deg: f32, skew_y_deg: f32) -> Option<(f32, f32)>
Expand description

Some((tan(skew_x), tan(skew_y))) when a part’s Skew must be applied as a local-vertex shear, or None when there is no skew or when Skew runs in propagate mode (folded into the world matrix instead). See crate::eval::SKEW_PROPAGATES. Angles are in degrees.