summaryrefslogtreecommitdiffstats
path: root/libdimension
Commit message (Collapse)AuthorAgeFilesLines
...
* Change initial array capacity to 2.Tavian Barnes2010-10-211-11/+11
| | | | | A quick experiment shows that arrays average less than 2 elements, and this helps a bit with the memory-hogginess of the parser.
* Don't call malloc() in the default error handler.Tavian Barnes2010-10-201-5/+1
|
* Add cone support to libdimension.Tavian Barnes2010-10-202-17/+45
|
* Missing `void' in argument list.Tavian Barnes2010-10-201-1/+1
|
* Missed some free() -> dmnsn_free() conversions.Tavian Barnes2010-10-1810-10/+10
|
* Inline some commonly-used functions.Tavian Barnes2010-10-184-31/+34
|
* error.c improvements.Tavian Barnes2010-10-021-9/+15
|
* Error out if an error occurs in a raytracing worker thread.Tavian Barnes2010-10-021-1/+8
|
* Drop rwlock in progress.c on errors.Tavian Barnes2010-09-301-6/+18
|
* Fix behaviour when the error handler itself calls dmnsn_error().Tavian Barnes2010-09-302-4/+16
|
* Use __thread for TLS in png.c.Tavian Barnes2010-09-301-32/+3
|
* Don't assume M_PI will be defined.Tavian Barnes2010-09-301-2/+2
|
* Make dmnsn_new_thread() bail out on errors.Tavian Barnes2010-09-294-19/+9
|
* Make parts of the progress API internal.Tavian Barnes2010-09-295-44/+33
|
* Fix race condition in error.c.Tavian Barnes2010-09-291-2/+4
|
* Fix whitespace in error.c.Tavian Barnes2010-09-261-1/+0
|
* Add a timer API to libdimension.Tavian Barnes2010-09-267-21/+137
|
* Add support for jemalloc.Tavian Barnes2010-09-261-0/+4
|
* Add dmnsn_free() to match dmnsn_malloc().Tavian Barnes2010-09-2620-48/+55
|
* Optimize DMNSN_ARRAY_FOREACH() a bit.Tavian Barnes2010-09-191-3/+3
|
* Make dmnsn_vector_axis_angle() handle edge cases.Tavian Barnes2010-08-151-1/+5
|
* Cylinder fixes.Tavian Barnes2010-08-151-8/+17
|
* Support closed cylinders.Tavian Barnes2010-08-142-13/+40
|
* Add cylinders to libdimension.Tavian Barnes2010-08-144-1/+98
|
* Get rid of a lot of unnecessary wakeups in dmnsn_wait_progress().Tavian Barnes2010-08-092-6/+23
|
* Optimize PR-tree construction a bit.Tavian Barnes2010-08-012-7/+13
|
* Fix PR-tree implementation.Tavian Barnes2010-08-011-13/+14
| | | | Grab priority leaves all at once instead of round-robin.
* Fix some -W{strict,missing}-prototypes warnings.Tavian Barnes2010-07-3114-23/+23
|
* Move test outside of loop in dmnsn_prtree_intersection_recursive().Tavian Barnes2010-07-201-7/+13
|
* Use dmnsn_min() and _max() in dmnsn_vector_min() and _max().Tavian Barnes2010-07-181-10/+10
|
* Make DMNSN_PRTREE_B and internal types local to prtree.c.Tavian Barnes2010-07-182-12/+14
|
* Remove degeneracy test from ray-box intersections.Tavian Barnes2010-07-181-17/+25
| | | | | To avoid testing degenerate boxes, set prtree->root to NULL when the tree contains no bounded objects.
* Speed up cube intersection tests.Tavian Barnes2010-07-161-83/+60
|
* Add descriptive comment to new branchless ray-AABB intersection tests.Tavian Barnes2010-07-151-0/+9
|
* Remove some unneeded tests from ray-AABB intersection tests.Tavian Barnes2010-07-151-43/+28
|
* Clean up optimized ray-AABB intersection code a bit.Tavian Barnes2010-07-151-21/+29
|
* Precalculate 1.0/ray.n.{x,y,z} for ray-box intersection tests.Tavian Barnes2010-07-141-12/+17
| | | | This saves us nearly a factor of 2, and I feel silly for not doing this before.
* Rename dimension_impl.h to dimension-impl.h.Tavian Barnes2010-07-1411-10/+11
|
* Don't expose the contents of struct dmnsn_progress.Tavian Barnes2010-07-146-25/+50
|
* Save some degeneracy tests in ray-AABB intersection tests.Tavian Barnes2010-07-091-16/+14
|
* New dmnsn_radians() and dmnsn_degrees() conversion functions.Tavian Barnes2010-07-031-1/+13
|
* Make dmnsn_perspective_camera_ray_fn() more idiomatic.Tavian Barnes2010-07-031-9/+5
|
* Make dmnsn_ray_box_intersection() return false for zero boxes.Tavian Barnes2010-07-031-3/+3
|
* Code formatting fixes.Tavian Barnes2010-07-011-4/+12
|
* Add some functionality checks to configure.ac for platform.c.Tavian Barnes2010-06-291-7/+33
|
* Move platform-specific stuff in libdimension into platform.c.Tavian Barnes2010-06-294-26/+48
|
* Use sched_getaffinity() rather than sysconf(_SC_NPROCESSORS_ONLN).Tavian Barnes2010-06-285-10/+72
| | | | Also, abstract cpu counting into dedicated dmnsn_ncpus() function.
* Don't make a degenerate sphere in transformations.pov.Tavian Barnes2010-06-281-5/+5
|
* Whitespace fixes.Tavian Barnes2010-06-201-1/+1
|
* Add some macros to make printf()-ing geometric types easier.Tavian Barnes2010-06-201-0/+18
|