Add scene and renderer selection to egui

This commit is contained in:
hal8174 2024-11-28 17:59:46 +01:00
parent d4bf1845cb
commit 1bfef16afa
6 changed files with 200 additions and 100 deletions

View file

@ -107,7 +107,7 @@ fn main() {
e.camera_up,
e.horizontal_fov,
);
let s = e.scene;
let s = (e.scene)();
let r = DepthRenderer::new(args.width, args.height);
render_image(