diff --git a/src/lib.rs b/src/lib.rs index fcf69a4..1737219 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -212,7 +212,7 @@ pub struct Volume { } impl Volume { - pub fn new(min: Vec3, max: Vec3) -> Self { + pub const fn new(min: Vec3, max: Vec3) -> Self { Self { min, max,