From b3737dcd5f767c451102667c88ad47a1e2cd772a Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Sat, 17 Jul 2021 16:11:31 -0700 Subject: [PATCH] lib: add constants for BLACK and WHITE colors. --- rtchallenge/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtchallenge/src/lib.rs b/rtchallenge/src/lib.rs index f1a8623..9fb7a67 100644 --- a/rtchallenge/src/lib.rs +++ b/rtchallenge/src/lib.rs @@ -10,3 +10,6 @@ pub mod world; /// Value considered close enough for PartialEq implementations. pub const EPSILON: f32 = 0.00001; + +const BLACK: tuples::Color = tuples::Color::new(0., 0., 0.); +const WHITE: tuples::Color = tuples::Color::new(1., 1., 1.);