mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 11:58:27 +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,
|
// Let's just choose a reasonable tolerance value here,
|
||||||
// then make sure we enlarge the AABB accordingly, to
|
// then make sure we enlarge the AABB accordingly, to
|
||||||
// make sure it fits.
|
// make sure it fits.
|
||||||
let tolerance_f64 = 0.001;
|
let tolerance = Tolerance::from_scalar(0.001)
|
||||||
let tolerance = Tolerance::from_scalar(tolerance_f64)
|
|
||||||
.expect("Tolerance provided is larger than zero");
|
.expect("Tolerance provided is larger than zero");
|
||||||
let offset = Vector::from([tolerance.inner(); 3]);
|
let offset = Vector::from([tolerance.inner(); 3]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user