Cleaner verbosity set
This commit is contained in:
parent
973810b776
commit
98d5b3c5e4
|
@ -53,9 +53,7 @@ fn main() {
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
||||||
// Set verbose flag
|
// Set verbose flag
|
||||||
verbose_log::log::VERBOSE.with(|verbose| {
|
verbose_log::set(matches.occurrences_of("verbose") > 0);
|
||||||
*verbose.borrow_mut() = matches.occurrences_of("verbose") > 0;
|
|
||||||
});
|
|
||||||
|
|
||||||
use std::f64::{MIN, MAX};
|
use std::f64::{MIN, MAX};
|
||||||
let mut bbox = BoundingBox3::new(
|
let mut bbox = BoundingBox3::new(
|
||||||
|
|
Loading…
Reference in New Issue