pub fn decode_pixel(format: HeightmapFormat, rgb: [u8; 3]) -> f32Expand description
Decode a single (R, G, B) pixel into elevation (metres) using the
chosen format.
pub fn decode_pixel(format: HeightmapFormat, rgb: [u8; 3]) -> f32Decode a single (R, G, B) pixel into elevation (metres) using the
chosen format.