This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::process::exit; | |
#[derive(Clone, Copy, Debug)] | |
struct Gate { | |
in1: usize, | |
in2: usize, | |
kind: GateKind | |
} | |
impl Gate { | |
fn all(n: usize) -> impl Iterator<Item = Self> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This program generates a VTOL VR map from real world elevation data | |
# data provided by https://www.mapzen.com/blog/elevation/ | |
# Edit these settings to customize the map | |
# ID of the map | |
map_id = "olympic_national_park" | |
# What to generate at the edge of the map | |
# "Water", "Hills", "Coast" | |
map_edge = "Coast" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#6d001a #be0039 #ff4500 #ffa800 | |
#ffd635 #fff8b8 #00a368 #00cc78 | |
#7eed56 #00756f #009eaa #00ccc0 | |
#2450a4 #3690ea #51e9f4 #493ac1 | |
#6a5cff #94b3ff #811e9f #b44ac0 | |
#e4abff #de107f #ff3881 #ff99aa | |
#6d482f #9c6926 #ffb470 #000000 | |
#515252 #898d90 #d4d7d9 #ffffff |