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

#360 in Math

Download history 6943/week @ 2025-10-16 8022/week @ 2025-10-23 7521/week @ 2025-10-30 8400/week @ 2025-11-06 6277/week @ 2025-11-13 7883/week @ 2025-11-20 5453/week @ 2025-11-27 5162/week @ 2025-12-04 5256/week @ 2025-12-11 5055/week @ 2025-12-18 4765/week @ 2025-12-25 5497/week @ 2026-01-01 6498/week @ 2026-01-08 6129/week @ 2026-01-15 7003/week @ 2026-01-22 6660/week @ 2026-01-29

27,221 downloads per month
Used in 8 crates (3 directly)

MPL-2.0 license

45KB
927 lines

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.


plane-split

Build Status Documentation

Plane splitting with euclid, made for WebRender.

Dependencies

~1MB
~19K SLoC