diff -r 7845beb87cb5 -r 4d22be35cfa2 rust/landgen/src/lib.rs --- a/rust/landgen/src/lib.rs Fri Nov 02 23:33:22 2018 +0300 +++ b/rust/landgen/src/lib.rs Fri Nov 02 22:59:22 2018 +0100 @@ -1,19 +1,24 @@ -pub mod template_based; +mod outline; pub mod outline_template; -mod outline; +pub mod template_based; extern crate integral_geometry; +extern crate itertools; extern crate land2d; -extern crate itertools; pub struct LandGenerationParameters { zero: T, basic: T, + distance_divisor: u32, } -impl LandGenerationParameters { +impl LandGenerationParameters { pub fn new(zero: T, basic: T) -> Self { - Self { zero, basic } + Self { + zero, + basic, + distance_divisor: 1, + } } }