ft (wip): random scene generation

This commit is contained in:
2026-04-25 05:20:15 +02:00
parent 5f2c419af5
commit ef8da70436
4 changed files with 113 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
use std::f32::consts::PI;
use log::{info, warn};
use log::info;
use crate::{
objects::{hit::Hit, traits::Hittable},
@@ -129,7 +129,6 @@ impl Camera {
if self.dirty {
self.init()
}
warn!("{}", format!("{self:#?}"));
let mut imgbuf = image::ImageBuffer::new(self.image_width, self.image_height);