interval bounding box
This commit is contained in:
@@ -59,6 +59,11 @@ impl Interval {
|
||||
Self { lower, upper }
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub const fn new_unchecked(lower: Value, upper: Value) -> Self {
|
||||
Self { lower, upper }
|
||||
}
|
||||
|
||||
pub fn splat(value: f32) -> Interval {
|
||||
Interval::new(Value::splat(value), Value::splat(value))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user