This commit is contained in:
2025-11-25 08:14:23 -08:00
parent e514c27675
commit d17153d17d

View File

@@ -133,7 +133,7 @@ fn reduce_simplex(
let direction=u.cross(p).cross(u);
// if direction.magnitude == 0 then
if direction==const{Vector3::new([Fixed::ZERO,Fixed::ZERO,Fixed::ZERO])}{
if direction==vec3::zero(){
return (choose_perpendicular_direction(u),simplex);
}