ft: quad support

This commit is contained in:
2026-05-02 04:46:15 +02:00
parent 27bdce5882
commit f1ac226dbb
7 changed files with 193 additions and 42 deletions

View File

@@ -27,8 +27,7 @@ fn main() {
pretty_env_logger::init();
// TODO: use cli arg for scenefile
let json_file = "./scenes/withTriangle.json";
// let json_file = "./scenes/scene.json";
let json_file = "./scenes/scene.json";
let json_str = fs::read_to_string(json_file).expect("Reading specified scene file failed!");
let mut scene: Scene = serde_json::from_str(&json_str).unwrap();
scene.render();