luizbarboza / polyclip-ts

MIT License
26 stars 8 forks source link

add test cases #1

Closed luizbarboza closed 1 year ago

luizbarboza commented 1 year ago
Peque commented 1 year 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.