commit | 31c0a833d670da95733109267d0a2a69a9a27bc4 | [log] [tgz] |
---|---|---|
author | Anuj Verma <anujv@iitbhilai.ac.in> | Sat Oct 16 10:02:30 2021 +0530 |
committer | Anuj Verma <anujv@iitbhilai.ac.in> | Sat Oct 16 10:02:30 2021 +0530 |
tree | 5faab7b74213b3a7076089e372476324a8e4cc0d | |
parent | 3d3be1dfd160e7fc8b192df1247ce4486c31b898 [diff] |
[sdf] Fixed corner checks and improved performance. * src/sdf/ftsdf.c (sdf_generate_bounding_box): Always check for corner if two distance (for different curves) are very close. * src/sdf/ftsdf.c (sdf_conic_to): Added check to figure out if the conic can be treated as a line (which happens if the control point coincide with any end-point). Also, replace tabs `\t` with spaces.