work
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user