diff --git a/src/lib.rs b/src/lib.rs index cbe0987..8ce383d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -246,7 +246,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,