Skip to main content

sample_colormap

Function sample_colormap 

Source
pub fn sample_colormap(t: f32) -> [f32; 4]
Expand description

Sample the active colormap at t in [0, 1].