lib: add constants for BLACK and WHITE colors.

This commit is contained in:
Bill Thiede 2021-07-17 16:11:31 -07:00
parent 72c6944ab9
commit b3737dcd5f

View File

@ -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.);