Skip to content

Commit

Permalink
Start on luck #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Mar 27, 2021
1 parent 088bf6b commit 0d85f8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ pub struct Params {
n_circles: usize,
num_segments: usize,
distances: Vec<f64>,
num_vertices: usize
num_vertices: usize,
precision: usize
}

// https://doc.rust-lang.org/std/default/trait.Default.html
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ use zonebuilder::clockboard;
fn main() {
let polygon_list = clockboard(Point::new(0.0, 0.0), Params::default(), None);
let geojson_list = geojson::Value::from(&polygon_list[0]);
println!("{}", geojson_list);
println!("{:.5}", geojson_list.);
}

0 comments on commit 0d85f8d

Please sign in to comment.