earclipper
earclipper copied to clipboard
3D triangulation library
- The colors makes it easier to read😆
Hi, really great to find this useful repo! It works for me in most common cases, but I have some issues when it comes to less common cases. I have...
change coplanar mapping from dominant vertor to closest to average normal to avoid floating point inaccuracy in normal vector creation
When applying coplanar mapping to this input: 2027.9122314453125 40 2.3806018829345703 2024.5794677734375 40 99.70745086669922 2022.4283447265625 40 162.5243682861328 2022.4283447265625 140 162.5243682861328 2024.6356201171875 140 98.06507873535156 2024.6033935546875 68 99.00758361816406 2027.9937744140625 68 0 2027.979736328125 40...
The EarClipping triangulation algorithm fails depending on the order of holes. Expected Behavior: Triangulation should succeed regardless of hole order since geometrically it's the same polygon. Actual Behavior: Only succeeds...