summaryrefslogtreecommitdiffstats
path: root/libdimension/sphere.c
Commit message (Collapse)AuthorAgeFilesLines
* Clean up sphere intersection code a bit.Tavian Barnes2010-05-251-6/+6
|
* Fix some copyright dates.Tavian Barnes2010-05-101-1/+1
|
* Rename dmnsn_matrix_*_mul() to dmnsn_transform_*().Tavian Barnes2010-04-171-4/+4
|
* Add transformations to textures and pigments.Tavian Barnes2010-04-151-8/+10
| | | | | Also, object intersection callbacks are now responsible for handling their own transformations.
* Don't use dynamic memory for dmnsn_intersection's.Tavian Barnes2010-04-071-8/+8
| | | | Drops us from ~400,000 allocs to ~1000. Oops ><.
* 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