From c61b4c9fa319d2cea484a41362a300f16af256a6 Mon Sep 17 00:00:00 2001 From: Veritas <145042207+VeriTas-arch@users.noreply.github.com> Date: Sat, 9 Nov 2024 03:13:16 +0000 Subject: [PATCH] doc: add more description on convex ploy transformation. --- pymunk/shapes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pymunk/shapes.py b/pymunk/shapes.py index 65eaf65a..b2c03f2c 100644 --- a/pymunk/shapes.py +++ b/pymunk/shapes.py @@ -579,7 +579,8 @@ def __init__( """Create a polygon. A convex hull will be calculated from the vertexes automatically. Note - that concave ones will be converted to a convex hull. + that concave ones will be converted to a convex hull using the Quickhull + algorithm. Add a small radius will bevel the corners and can significantly reduce problems where the poly gets stuck on seams in your geometry.