ft: 8: anti-aliasing

This commit is contained in:
djaidjai committed 2026-04-15 14:44:30 +02:00
1 parent b9372cde62
commit abf401afb5
4 files changed
+26 -10

No files matched your search

+1 -1
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);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.