renderbug: first implementation of virtual coordinate based rendering
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use palette::convert::FromColorUnclamped;
|
||||
use palette::blend::{PreAlpha, Premultiply};
|
||||
use palette::encoding::srgb::Srgb;
|
||||
use palette::Hsv;
|
||||
use embedded_graphics::pixelcolor::RgbColor;
|
||||
@@ -13,7 +14,7 @@ pub struct RGB8 {
|
||||
}
|
||||
|
||||
impl RGB8 {
|
||||
const fn new(red : u8, green : u8, blue : u8) -> Self {
|
||||
pub const fn new(red : u8, green : u8, blue : u8) -> Self {
|
||||
Self {
|
||||
red: red,
|
||||
green: green,
|
||||
|
Reference in New Issue
Block a user