34 releases (17 breaking)
0.18.0 | Nov 8, 2022 |
---|---|
0.17.1 | Nov 20, 2020 |
0.17.0 | Jul 30, 2020 |
0.15.0 | Sep 12, 2019 |
0.6.0 | Jun 15, 2017 |
#185 in Math
10,016 downloads per month
Used in 7 crates
(3 directly)
45KB
927 lines
plane-split
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
~800KB
~18K SLoC