Hits-of-Code Badges
vbrandl.net1 ポイント投稿者 vbrandl0 コメント
fn scatter(&self, ray: &Ray, hit_record: &HitRecord) -> Option<(Option<Ray>, Srgb)>
The function takes a `Ray` as input, so you cannot render light without a ray. The return value might be one of the cases listed above.