summaryrefslogtreecommitdiffstats
path: root/libdimension/pigment.c
Commit message (Collapse)AuthorAgeFilesLines
* pigment: Use pool.Tavian Barnes2014-05-311-19/+2
|
* pigment: Kill ->ptr field.Tavian Barnes2014-05-271-10/+20
|
* malloc: New DMNSN_MALLOC() macro to save a sizeof().Tavian Barnes2014-05-061-2/+2
|
* Use macros to initialize refcounts.Tavian Barnes2011-12-241-1/+1
|
* Re-think colors.Tavian Barnes2011-12-141-2/+2
| | | | | | | | | 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.
* Make API more consistent.Tavian Barnes2011-10-301-3/+3
| | | | Object methods should be dmnsn_<object>_<fn>().
* Transform normals as pseudovectors, not vectors.Tavian Barnes2011-09-141-1/+1
| | | | | | | | Also clarify the vector transformation API. Instead of dmnsn_transform_vector(), we have: - dmnsn_transform_point() - dmnsn_transform_direction() - dmnsn_transform_normal()
* Update copyright years.Tavian Barnes2011-08-311-1/+1
|
* Use quick_color only for solid pigments.Tavian Barnes2011-07-271-2/+6
|
* Vast libdimension API and internals improvements.Tavian Barnes2011-06-131-1/+14
| | | | | Couldn't really do these while I was trying to be POV-Ray compatible, 'cause they would've broken compatibility.
* Don't use awkward (*fptr)() syntax.Tavian Barnes2011-04-031-2/+2
|
* Update email address.Tavian Barnes2011-03-081-1/+1
|
* Split pigments and finishes into their own headers/sources.Tavian Barnes2010-12-021-0/+62