interpolate: pub Fract8

This commit is contained in:
Victoria Fischer 2024-11-24 23:51:18 +01:00
parent 30ed741349
commit a76d040ff6

View File

@ -3,7 +3,7 @@ use std::ops::BitOr;
use rgb::Rgb; use rgb::Rgb;
type Fract8 = u8; pub type Fract8 = u8;
pub trait Fract8Ops { pub trait Fract8Ops {
fn scale8(self, scale: Fract8) -> Self; fn scale8(self, scale: Fract8) -> Self;