summaryrefslogtreecommitdiffstats
path: root/libdimension/ray_trace.c
Commit message (Collapse)AuthorAgeFilesLines
* Use // comments when possible.Tavian Barnes2014-06-071-56/+56
|
* malloc: New DMNSN_MALLOC() macro to save a sizeof().Tavian Barnes2014-05-061-2/+1
|
* future: Add a race-free way to examine a partial computation.Tavian Barnes2014-04-231-2/+3
| | | | | | This allows safe OpenGL previews, for example. dmnsn_future* learned the dmnsn_future_{pause,resume}() functions which cause all worker threads to block. render.test now survives Helgrind with no errors.
* Allow other BVH implementations to be used.Tavian Barnes2012-12-171-11/+11
| | | | | dmnsn_bvh is now a generic API, which could potentially support octrees, etc, in addition to PR-trees.
* Re-think colors.Tavian Barnes2011-12-141-207/+251
| | | | | | | | | Color is a property of light, and thus doesn't include information about transparency. But canvas pixels and object pigments represent a color and a degree of transparency. The new type dmnsn_tcolor/ TColor encapsulates that information. Also, fix the transparent shadow implementation.
* Rename raytrace.{c,h} to ray_trace.{c,h}.Tavian Barnes2011-12-051-0/+503