Skip to content

Commit

Permalink
Fix unreachable!() in point-aabb projection.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Feb 4, 2019
1 parent 6c316a5 commit a11652f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query/point_internal/point_aabb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl<N: Real> PointQuery<N> for AABB<N> {
}
}

unreachable!()
(proj, FeatureId::Unknown)
} else if nzero_shifts == DIM - 1 {
// On a 3D face.
if ls_pt[last_not_zero_shift] < self.center()[last_not_zero_shift] {
Expand Down

0 comments on commit a11652f

Please sign in to comment.