canvas: use ugly pink for default color to ease in debugging.

This commit is contained in:
Bill Thiede 2021-07-16 22:28:05 -07:00
parent 4bb6a72e4b
commit 7609201c16

View File

@ -22,7 +22,7 @@ pub struct Canvas {
impl Canvas {
pub fn new(width: usize, height: usize) -> Canvas {
let pixels = vec![Color::new(0., 0., 0.); width * height];
let pixels = vec![Color::new(1., 0., 1.); width * height];
Canvas {
width,
height,