ft: 8: anti-aliasing
This commit is contained in:
1 parent
b9372cde62
commit
abf401afb5
4 files changed
+26
-10
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||