Update comment

This commit is contained in:
Hanno Braun 2024-10-11 19:32:42 +02:00
parent 35a689cfd7
commit 1236513539

View File

@ -15,8 +15,8 @@ impl super::BoundingVolume<3> for &Face {
// A bounding volume must include the body it bounds, but does not need
// to match it precisely. So it's okay, if it's a bit larger.
//
// Let's just choose a reasonable tolerance value here, then make sure
// we enlarge the AABB accordingly, to make sure it fits.
// Let's just choose a reasonable tolerance value here, that we can use
// to enlarge any AABBs we use in this method as necessary.
let tolerance = Tolerance::from_scalar(0.001)
.expect("Tolerance provided is larger than zero");