summaryrefslogtreecommitdiffstats
path: root/libdimension/sphere.c
Commit message (Collapse)AuthorAgeFilesLines
* New dmnsn_malloc() function, and friends.Tavian Barnes2010-04-071-7/+4
| | | | | | 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.
* New dmnsn_bounding_box type.Tavian Barnes2010-04-061-4/+4
|
* Make inside_fn's return bool.Tavian Barnes2010-04-051-3/+3
|
* Point the normal vectors away from the object.Tavian Barnes2010-02-251-4/+0
|
* Add the dmnsn_interior* to dmnsn_intersection*.Tavian Barnes2010-02-251-4/+5
|
* Fix up license blurbs and copyright year.Tavian Barnes2010-01-271-1/+1
|
* Split up objects, finishes, pigments, lights, cameras, etc.Tavian Barnes2010-01-061-0/+91
|
* Sphere and cube C++ wrappers.Tavian Barnes2009-07-011-78/+0
|
* Add lots of comments, and some code fixes discovered in the process.Tavian Barnes2009-06-261-1/+6
|
* Use C-style /* comments in C code.Tavian Barnes2009-06-221-1/+1
|
* Properly forward-declare dmnsn_object and dmnsn_camera, and take aTavian Barnes2009-06-131-2/+2
| | | | transformation matrix in dmnsn_new_perspective_camera().
* Pass pointer to object in object callbacks.Tavian Barnes2009-06-131-4/+6
|
* Fix dmnsn_new_sphere failure symantics.Tavian Barnes2009-06-131-2/+4
|
* Begin object type, with sphere example.Tavian Barnes2009-05-131-0/+69