fix aabb calc

This commit is contained in:
2026-10-02 17:42:23 +01:00
parent 6b7112d011
commit 19b241637b
+1 -1
View File
@@ -525,7 +525,7 @@ fn create_csg(seed: u64) -> SSATape {
} }
fn interval_check(csg: &CSG, time: f32) -> (Vec3, Vec3) { fn interval_check(csg: &CSG, time: f32) -> (Vec3, Vec3) {
let (highest_corner, lowest_corner) = csg.parts.get_aabb(time); let (lowest_corner, highest_corner) = csg.parts.get_aabb(time);
(highest_corner - lowest_corner, lowest_corner) (highest_corner - lowest_corner, lowest_corner)
} }