pub fn lerp_rgb_q8(a: (u8, u8, u8), b: (u8, u8, u8), t: u8) -> (u8, u8, u8)Expand description
Q8 interpolation with arithmetic shift (rounding negative deltas down).
t is a fraction over 256; 255 deliberately does not quite reach b.
pub fn lerp_rgb_q8(a: (u8, u8, u8), b: (u8, u8, u8), t: u8) -> (u8, u8, u8)Q8 interpolation with arithmetic shift (rounding negative deltas down).
t is a fraction over 256; 255 deliberately does not quite reach b.