Skip to main content

hex_to_linear

Function hex_to_linear 

Source
pub fn hex_to_linear(hex: u32) -> [f32; 3]
Expand description

A 0xRRGGBB hex color → linear-space RGB (for light/material constants).