diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<T: Number> (a: T, b: T) -> T { +pub fn min<T: Number> (a: T, b: T) -> T { if b < a { return b; } a } -fn max<T: Number> (a: T, b: T) -> T { +pub fn max<T: Number> (a: T, b: T) -> T { if b > a { return b; } |