summaryrefslogtreecommitdiffstats
path: root/libdimension/phong.c
Commit message (Collapse)AuthorAgeFilesLines
* New dmnsn_malloc() function, and friends.Tavian Barnes2010-04-071-14/+7
| | | | | | I'm tired of checking for malloc failures everywhere, considering it never happens. So just bail out whenever it does. A lot of stuff is guaranteed to succeed if it returns now.
* Set errno on failures.Tavian Barnes2010-04-011-0/+2
|
* Fix up license blurbs and copyright year.Tavian Barnes2010-01-271-1/+1
|
* Split finish_fn into diffuse_fn and specular_fn.Tavian Barnes2010-01-131-7/+7
|
* Clamp negative values in phong shading.Tavian Barnes2010-01-091-1/+6
|
* Split up objects, finishes, pigments, lights, cameras, etc.Tavian Barnes2010-01-061-0/+67