Function veloren_common::comp::fluid_dynamics::angle_of_attack

source ·
pub fn angle_of_attack(ori: &Ori, rel_flow_dir: &Dir) -> f32
Expand description

Geometric angle of attack

§Note

This ignores spanwise flow (i.e. we remove the spanwise flow component). With greater yaw comes greater loss of accuracy as more flow goes unaccounted for.