use std::f32::consts::PI; pub(crate) fn deg_to_rad(deg: f32) -> f32 { deg * PI / 180. }