ft: 8: anti-aliasing
This commit is contained in:
@@ -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