ft: 8: anti-aliasing

This commit is contained in:
2026-04-15 14:44:30 +02:00
parent b9372cde62
commit abf401afb5
4 changed files with 26 additions and 10 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(16. / 9., 400);
let c = Camera::new_aa(16. / 9., 400, 2);
c.render(&world);
}