mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
9 lines
329 B
Rust
9 lines
329 B
Rust
|
fn main() {
|
||
|
let mod_name = std::env::args().skip(1).next().expect("provide a module name");
|
||
|
match mod_name.as_str() {
|
||
|
"scene" => print!("{}", piet_gpu_types::scene::gen_gpu_scene()),
|
||
|
"ptcl" => print!("{}", piet_gpu_types::ptcl::gen_gpu_ptcl()),
|
||
|
_ => println!("Oops, unknown module name"),
|
||
|
}
|
||
|
}
|