diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-16 01:16:33 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-16 01:16:33 +0000 |
commit | 6b4dc860466ce4794b346533162291046a6ee96c (patch) | |
tree | 2ce3f61711ea6a5688462f605a4e5913e1cb7a4e /libdimension/raytrace.c | |
parent | c3619e541564d5133a3ccdaeb79588d37d46a3db (diff) | |
download | dimension-6b4dc860466ce4794b346533162291046a6ee96c.tar.xz |
New C++ wrapper for dmnsn_texture*.
Diffstat (limited to 'libdimension/raytrace.c')
-rw-r--r-- | libdimension/raytrace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c index 75e857c..10f400d 100644 --- a/libdimension/raytrace.c +++ b/libdimension/raytrace.c @@ -248,6 +248,9 @@ dmnsn_raytrace_shoot(dmnsn_scene *scene, dmnsn_color color, if (intersection) { color = dmnsn_color_from_XYZ(dmnsn_whitepoint); } + + /* Delete the intersection */ + dmnsn_delete_intersection(intersection); } return color; |