summaryrefslogtreecommitdiffstats
path: root/libdimension/sphere.c
Commit message (Collapse)AuthorAgeFilesLines
* sphere: Remove debugging printf.Tavian Barnes2014-06-111-1/+0
|
* sphere: Simplify bounding box calculation.Tavian Barnes2014-06-081-58/+27
|
* sphere: Use tightest possible bounding boxes.Tavian Barnes2014-06-071-3/+65
|
* Use // comments when possible.Tavian Barnes2014-06-071-7/+7
|
* objects: Refactor how bounding and initialization work.Tavian Barnes2014-06-071-11/+20
|
* objects: Use a vtable to shrink object structs.Tavian Barnes2014-06-061-3/+7
|
* object: Use pool.Tavian Barnes2014-05-311-5/+5
|
* Add some branch instrumentation from gcov profile.Tavian Barnes2011-11-161-2/+3
|
* Make API more consistent.Tavian Barnes2011-10-301-1/+1
| | | | Object methods should be dmnsn_<object>_<fn>().
* Update copyright years.Tavian Barnes2011-08-311-1/+1
|
* Support multiple texture assignment properly.Tavian Barnes2011-07-261-5/+2
|
* Don't use awkward (*fptr)() syntax.Tavian Barnes2011-04-031-2/+2
|
* Update email address.Tavian Barnes2011-03-081-1/+1
|
* Make some empty parameter lists explicit.Tavian Barnes2010-11-301-1/+1
|
* Document libdimension with Doxygen.Tavian Barnes2010-11-141-26/+18
|
* Factor out transformation code from object callbacks.Tavian Barnes2010-11-061-7/+3
|
* Add numerical polynomial solver based on Uspensky's algorithm.Tavian Barnes2010-10-261-19/+17
|
* Add cylinders to libdimension.Tavian Barnes2010-08-141-1/+1
|
* 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