broken(retinaface): Added drawing for bounding box
This commit is contained in:
@@ -235,12 +235,13 @@ impl<T: Num, const D: usize> AxisAlignedBoundingBox<T, D> {
|
||||
}
|
||||
|
||||
impl<T: Num> Aabb2<T> {
|
||||
pub fn from_x1y1x2y2(x1: T, x2: T, y1: T, y2: T) -> Self
|
||||
pub fn from_x1y1x2y2(x1: T, y1: T, x2: T, y2: T) -> Self
|
||||
where
|
||||
T: core::ops::SubAssign,
|
||||
{
|
||||
let point1 = Point2::new(x1, y1);
|
||||
let point2 = Point2::new(x2, y2);
|
||||
dbg!(point1, point2);
|
||||
Self::from_min_max_vertices(point1, point2)
|
||||
}
|
||||
pub fn new_2d(point1: Point2<T>, point2: Point2<T>) -> Self
|
||||
|
||||
Reference in New Issue
Block a user