3 releases (breaking)

Uses old Rust 2015

0.3.0 Jan 15, 2018
0.2.0 Jan 10, 2018
0.1.0 Jan 4, 2018

#13 in #lyon

43 downloads per month

MIT license

10KB
180 lines

tess2

This is a wrapper around libtess2, written by memononen.

In general you should instead use lyon, which is implemented in rust and faster in the majority of cases.

I created this because I have some very odd polygons with thousands of vertices and self intersections which sometimes trips up lyon; check on issue 291 to see if this is still the case before substituting libtess2.


lib.rs:

Safe rust wrapper around the subset of libtess2 I personally need.

Your vertices are ordered clockwise when using the clipping functions.

Dependencies

~0.6–2.5MB
~51K SLoC