mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 18:38:28 +00:00
Inline redundant variable
This commit is contained in:
parent
a725998f31
commit
a0a470009b
@ -40,8 +40,7 @@ impl super::BoundingVolume<3> for &Face {
|
||||
// Let's just choose a reasonable tolerance value here,
|
||||
// then make sure we enlarge the AABB accordingly, to
|
||||
// make sure it fits.
|
||||
let tolerance_f64 = 0.001;
|
||||
let tolerance = Tolerance::from_scalar(tolerance_f64)
|
||||
let tolerance = Tolerance::from_scalar(0.001)
|
||||
.expect("Tolerance provided is larger than zero");
|
||||
let offset = Vector::from([tolerance.inner(); 3]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user