Add a comment
This commit is contained in:
parent
c45331d79d
commit
8df7a5a6a1
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ _scene_trace(Scene *scene, const Ray ray, const int depth)
|
||||||
ptr = ptr->next;
|
ptr = ptr->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If there was no intersection, return black.
|
||||||
if (intersected_obj == NULL) {
|
if (intersected_obj == NULL) {
|
||||||
return out_color;
|
return out_color;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue