luizbarboza / polyclip-ts

MIT License
28 stars 10 forks source link

add test cases #1

Closed luizbarboza closed 2 years ago

luizbarboza commented 2 years ago
Peque commented 2 years ago

@SBanksX Did you run any performance tests after fixing all those floating point issues? I'd be interested in knowing how this implementation compares to https://github.com/mfogel/polygon-clipping.

Of course I can run the tests myself, but I am guessing there is a high chance you run them already while or after implementing the changes. :blush:

markstos commented 1 year ago

@Peque Many of the tests come from the polygon-clipping library, which crashes on the test cases, so it doesn't matter if polygon-clipping is faster if it doesn't work.