summaryrefslogtreecommitdiffstats
path: root/libdimension
Commit message (Collapse)AuthorAgeFilesLines
* triangle_fan: Remove dead store to bounding box.Tavian Barnes2014-06-071-2/+0
|
* objects: Implement triangle fans.Tavian Barnes2014-06-074-3/+202
|
* objects: Refactor how bounding and initialization work.Tavian Barnes2014-06-0714-112/+233
|
* objects: Use a vtable to shrink object structs.Tavian Barnes2014-06-069-74/+123
|
* object: Kill pool parameter to dmnsn_init_object().Tavian Barnes2014-06-067-10/+9
|
* csg: Avoid copying the child array for unions.Tavian Barnes2014-06-044-16/+8
|
* object: Don't give every object a child array.Tavian Barnes2014-06-042-13/+19
|
* triangles: Use a different implementation for flat and smooth triangles.Tavian Barnes2014-06-041-37/+67
|
* triangles: Don't forget to transform normals.Tavian Barnes2014-06-042-15/+17
| | | | This fixes the artifacts seen when rendering meshes.
* triangles: Better API.Tavian Barnes2014-06-044-51/+39
|
* canvas: Use the pool for the pixels too.Tavian Barnes2014-06-021-6/+3
|
* pool: Use relaxed atomic_store() instead of atomic_init().Tavian Barnes2014-06-021-1/+1
| | | | atomic_init() emits an mfence for some reason.
* malloc: Add missing ATOMIC_VAR_INIT().Tavian Barnes2014-06-021-2/+2
|
* Use C11 atomics.Tavian Barnes2014-06-022-17/+16
|
* bench: Run the future benchmark last becuase it's the slowest.Tavian Barnes2014-05-311-2/+2
|
* refcount: Remove.Tavian Barnes2014-05-317-160/+0
|
* object: Use pool.Tavian Barnes2014-05-3116-158/+120
|
* texture: Use pool.Tavian Barnes2014-05-315-48/+19
|
* finish: Use pool.Tavian Barnes2014-05-318-184/+48
|
* pigment: Use pool.Tavian Barnes2014-05-3111-144/+66
|
* scene: Put the light array on the pool.Tavian Barnes2014-05-311-3/+3
|
* array: Allow arrays to be allocated from pools.Tavian Barnes2014-05-313-5/+79
|
* array: Add DMNSN_NEW_ARRAY macro.Tavian Barnes2014-05-3111-19/+26
|
* scene: Get rid of dmnsn_delete_scene().Tavian Barnes2014-05-303-45/+29
|
* map: Use pool.Tavian Barnes2014-05-305-35/+28
|
* pattern: Use pool.Tavian Barnes2014-05-308-64/+27
|
* interior: Use pool.Tavian Barnes2014-05-305-30/+10
|
* light: Use pool.Tavian Barnes2014-05-306-46/+14
|
* camera: Use pool.Tavian Barnes2014-05-306-42/+12
|
* canvas: Use pool.Tavian Barnes2014-05-3013-121/+112
|
* pool: Separate dmnsn_palloc and dmnsn_palloc_tidy() APIs.Tavian Barnes2014-05-303-12/+35
|
* scene: Use pool.Tavian Barnes2014-05-303-8/+10
|
* pool: Rename pool_alloc to palloc.Tavian Barnes2014-05-303-9/+9
|
* pool: Add memory pool API.Tavian Barnes2014-05-306-2/+279
|
* finish: Remove ->ptr fields.Tavian Barnes2014-05-275-89/+128
|
* interior: Kill ->ptr field.Tavian Barnes2014-05-272-10/+5
|
* pattern: Kill ->ptr field.Tavian Barnes2014-05-273-23/+47
|
* pigment: Kill ->ptr field.Tavian Barnes2014-05-274-48/+81
|
* light: Get rid of ->ptr field.Tavian Barnes2014-05-265-33/+49
|
* camera: Kill the ->ptr field.Tavian Barnes2014-05-263-14/+33
|
* Coding style fixes.Tavian Barnes2014-05-266-58/+69
|
* object: Get rid of void *ptr field.Tavian Barnes2014-05-267-156/+191
| | | | | | Instead, allow dmnsn_object to be embedded in a larger struct. This gives a consistent 1% speed boost.
* triangle: Make intersections simpler and faster with a change of basis.Tavian Barnes2014-05-221-15/+22
|
* geometry: Add a matrix constructor from column vectors.Tavian Barnes2014-05-221-0/+11
|
* bench: Add a triangle intersection benchmark.Tavian Barnes2014-05-222-2/+70
|
* geometry.h: Fix copy-pasta.Tavian Barnes2014-05-221-2/+2
|
* threads.h: Add missing newline.Tavian Barnes2014-05-091-0/+1
|
* png: Fix a trivial bug found by the last commit.Tavian Barnes2014-05-061-1/+1
|
* malloc: New DMNSN_MALLOC() macro to save a sizeof().Tavian Barnes2014-05-0629-69/+70
|
* canvas.c: Fix whitespace.Tavian Barnes2014-05-011-1/+1
|