From c24d1e52b3f173ba5f4cc04f5a6a449a011a60c7 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 7 Feb 2021 17:52:30 +0100 Subject: Add reflecting material --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index a0af705..1593471 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ pub mod trace; pub mod sample; pub mod material; -use std::ops::{Add, Sub, Mul, DivAssign, Neg}; +use std::ops::{Add, Sub, Mul, DivAssign, AddAssign, Neg}; use std::cmp; use std::fmt; use std::f64::consts::PI; @@ -22,6 +22,7 @@ pub trait Number: Mul + Neg + DivAssign + + AddAssign + fmt::Display {} -- cgit v1.2.3