Function blue_engine::pixel_to_cartesian
source · pub fn pixel_to_cartesian(value: f32, max: u32) -> f32
Expand description
This function helps in converting pixel value to the value that is between -1 and +1
pub fn pixel_to_cartesian(value: f32, max: u32) -> f32
This function helps in converting pixel value to the value that is between -1 and +1