par
par copied to clipboard
single-file C libraries from Philip Allan Rideout
First of all thanks for providing the nice implementation of the Marching Squares algorithm. I've noticed some inconsistencies for various edge cases (literal "edge"-cases). I'm testing a simple 4x4 grayscale...
This code https://github.com/prideout/par/blob/b3571fdf83518d921af3b69d13ea0cb8749147aa/test/test_shapes.c#L234 creates a disk and a dodecahedron and then calls `par_shapes_merge` on them. The problem is that the disk has normals but the dodecahedron does not. https://github.com/prideout/par/blob/b3571fdf83518d921af3b69d13ea0cb8749147aa/par_shapes.h#L685 allocates...
The links to `bluenoise{.trimmed,}.bin` in https://github.com/prideout/par/blob/master/par_bluenoise.h#L9-L10 are dead, making the library unclear how to use.