here_be_dragons/examples/bsp_interior.rs
2022-03-12 14:31:30 -06:00

10 lines
234 B
Rust

use mapgen::*;
use rand::prelude::*;
fn main() {
let mut rng = StdRng::seed_from_u64(907647352);
let gen = BspInterior::<NoData>::new();
let map = gen.modify_map(&mut rng, &Map::new(20, 10));
println!("{:}", &map);
}