feat: Added stuff
This commit is contained in:
@@ -65,8 +65,9 @@ impl Drawable<Array3<u8>> for Aabb2<usize> {
|
||||
pixel.assign(&color);
|
||||
})
|
||||
})
|
||||
.inspect_err(|e| {
|
||||
dbg!(e);
|
||||
.inspect_err(|_e| {
|
||||
#[cfg(feature = "tracing")]
|
||||
tracing::error!("{_e}")
|
||||
})
|
||||
.ok();
|
||||
});
|
||||
|
||||
@@ -54,7 +54,6 @@ impl<T: Num, const D: usize> AxisAlignedBoundingBox<T, D> {
|
||||
if max_point >= min_point {
|
||||
Self::from_min_max_vertices(min_point, max_point)
|
||||
} else {
|
||||
dbg!(max_point, min_point);
|
||||
panic!("max_point must be greater than or equal to min_point");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user