diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 14:23:38 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 14:23:38 -0500 |
commit | 1044badd2e625c73eae616f6a0d10479dde54db5 (patch) | |
tree | edc9b28296d8e68b4a6e7fd1e0c69a3802a63cd8 /libdimension | |
parent | 89da144e4095ecece603a5d7adf29b7a8e493bb1 (diff) | |
download | dimension-1044badd2e625c73eae616f6a0d10479dde54db5.tar.xz |
Render multiple (or zero) lights correctly.
Diffstat (limited to 'libdimension')
-rw-r--r-- | libdimension/raytrace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c index da78411..dc017f5 100644 --- a/libdimension/raytrace.c +++ b/libdimension/raytrace.c @@ -332,8 +332,9 @@ dmnsn_raytrace_shoot(dmnsn_line ray, dmnsn_scene *scene, } dmnsn_delete_intersection(shadow_caster); - color = illum; } + + color = illum; } /* Delete the intersection */ |