canvas: use ugly pink for default color to ease in debugging.
This commit is contained in:
parent
4bb6a72e4b
commit
7609201c16
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user