here_be_dragons/examples/bsp_interior.rs

10 lines
243 B
Rust
Raw Normal View History

2022-03-18 16:56:34 +00:00
use here_be_dragons::*;
2022-03-12 20:31:30 +00:00
use rand::prelude::*;
2020-10-17 15:31:32 +00:00
fn main() {
let mut rng = StdRng::seed_from_u64(907647352);
let gen = BspInterior::<NoData>::new();
2020-10-17 16:02:50 +00:00
let map = gen.modify_map(&mut rng, &Map::new(20, 10));
2020-10-17 15:31:32 +00:00
println!("{:}", &map);
2022-03-12 20:31:30 +00:00
}