From e7a881ddc0b1431c87f9f22bda4a824e00ca85dd Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 25 Sep 2024 14:26:34 -0700 Subject: [PATCH] fix aabb blunder --- src/aabb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aabb.rs b/src/aabb.rs index e5ad10c..e3532aa 100644 --- a/src/aabb.rs +++ b/src/aabb.rs @@ -8,7 +8,7 @@ pub struct Aabb{ impl Default for Aabb{ fn default()->Self{ - Self{min:Planar64Vec3::from_value(Planar64::MAX),max:Planar64Vec3::from_value(Planar64::MAX)} + Self{min:Planar64Vec3::from_value(Planar64::MAX),max:Planar64Vec3::from_value(Planar64::MIN)} } }