Function three::color::from_linear_rgb

source ·
pub fn from_linear_rgb(c: [f32; 3]) -> Color
Expand description

Linear to sRGB conversion.

Implementation taken from https://en.wikipedia.org/wiki/SRGB