From 86ad7845219e8db06fe47b62794180e1b40f90a5 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 1 Aug 2021 22:55:07 +0200 Subject: Implement dielectric material from RTIAW --- src/core/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/mod.rs') diff --git a/src/core/mod.rs b/src/core/mod.rs index 07793ec..95d450c 100644 --- a/src/core/mod.rs +++ b/src/core/mod.rs @@ -18,14 +18,14 @@ pub use ray::Ray; use crate::Number; -fn min (a: T, b: T) -> T { +pub fn min (a: T, b: T) -> T { if b < a { return b; } a } -fn max (a: T, b: T) -> T { +pub fn max (a: T, b: T) -> T { if b > a { return b; } -- cgit v1.2.3