From 64925f96404c94ff5be5d4b417ee967188132773 Mon Sep 17 00:00:00 2001 From: numzero Date: Sun, 16 Nov 2025 18:05:14 +0300 Subject: [PATCH] update defaults --- src/lib.rs | 2 +- ui/src/main_window.ui | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 515fb6a..d535143 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -210,7 +210,7 @@ impl Core { let mut prng = rand_pcg::Pcg64::new(42, 0); let source_rays: Vec = (0..10240).map(|_| source.make_ray(&mut prng)).collect(); - let camera_rays: Vec = (0..1024).map(|_| camera.make_ray(&mut prng)).collect(); + let camera_rays: Vec = (0..10240).map(|_| camera.make_ray(&mut prng)).collect(); let mut source_ray_display: Vec = Vec::with_capacity(source_rays.len()); let mut hits: Vec = Vec::with_capacity(source_rays.len()); for ray in source_rays { diff --git a/ui/src/main_window.ui b/ui/src/main_window.ui index aef1ac0..fa9bb16 100644 --- a/ui/src/main_window.ui +++ b/ui/src/main_window.ui @@ -181,7 +181,10 @@ -100 - 100 + 0 + + + -40 Qt::Horizontal @@ -203,6 +206,9 @@ 100 + + -50 + Qt::Horizontal