@@ 17,7 17,7 @@ fn compute_color(scene: *hittable, r: *ray, depth: uint) color = {
};
let rec = hit_record { ... };
- if (hit(scene, r, (0.0, math::INF), &rec)) {
+ if (hit(scene, r, (0.001, math::INF), &rec)) {
*r = ray {
origin = rec.point,
direction = sum(rec.normal, random_unit()),