Can create canvas

This commit is contained in:
Jon Janzen
2021-02-19 19:58:52 -07:00
parent 5232e69ec1
commit 1fc84c7d1f
4 changed files with 87 additions and 2 deletions

View File

@@ -3,8 +3,8 @@ extern crate approx;
use std::ops;
#[derive(Debug)]
struct Color {
#[derive(Debug, Copy, Clone)]
pub struct Color {
red: f32,
green: f32,
blue: f32,