Skip to main content

cartesian_to_polar_deg

Function cartesian_to_polar_deg 

Source
pub fn cartesian_to_polar_deg([l, a, b]: [f32; 3]) -> [f32; 3]
Expand description

Convert Cartesian [L, a, b] to polar [L, C, h_deg] with hue h_deg in degrees [0.0, 360.0).