added antialiasing
This commit is contained in:
@@ -25,5 +25,5 @@ impl HitRecord {
|
||||
}
|
||||
|
||||
pub trait Hittable {
|
||||
fn hit(&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool;
|
||||
fn hit(&mut self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool;
|
||||
}
|
||||
Reference in New Issue
Block a user