#geometry #math

plane-split

Plane splitting

30 releases

0.15.0 Sep 12, 2019
0.14.0 Jul 18, 2019
0.13.9 Aug 12, 2019
0.13.8 Mar 19, 2019
0.6.0 Jun 15, 2017

#26 in Math

Download history 574/week @ 2019-08-03 960/week @ 2019-08-10 940/week @ 2019-08-17 1338/week @ 2019-08-24 873/week @ 2019-08-31 918/week @ 2019-09-07 1148/week @ 2019-09-14 2074/week @ 2019-09-21 2060/week @ 2019-09-28 1747/week @ 2019-10-05 1741/week @ 2019-10-12 1816/week @ 2019-10-19 1353/week @ 2019-10-26 1388/week @ 2019-11-02 892/week @ 2019-11-09

3,763 downloads per month
Used in 2 crates (1 directly)

MPL-2.0 license

43KB
905 lines

plane-split

Build Status Documentation

Plane splitting with euclid, made for WebRender.


lib.rs:

Plane splitting.

Uses euclid for the math basis. Introduces new geometrical primitives and associated logic.

Automatically splits a given set of 4-point polygons into sub-polygons that don't intersect each other. This is useful for WebRender, to sort the resulting sub-polygons by depth and avoid transparency blending issues.

Dependencies

~605KB
~14K SLoC