ft: 9: diffuse materials

This commit is contained in:
2026-04-15 15:18:33 +02:00
parent 5d18a57799
commit e8f84b590b
6 changed files with 332 additions and 15 deletions

View File

@@ -19,6 +19,6 @@ fn main() {
world.push(Sphere::new(Vec3::new(0., 0., -0.1), 0.01));
world.push(Sphere::new(Vec3::new(0., -100.5, -1.), 100.));
let c = Camera::new_aa(16. / 9., 400, 2);
let c = Camera::new_aa(16. / 9., 400, 3);
c.render(&world);
}