From f178215f20c53e7b04c2bc7ab4deea8740509507 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sun, 24 Mar 2019 21:45:45 +0100 Subject: [PATCH] .corner(): Also accept (angle, radius) tuples --- boxes/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/boxes/__init__.py b/boxes/__init__.py index b606934..cfd054d 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -608,6 +608,11 @@ class Boxes: """ + try: + degrees, radius = degrees + except: + pass + rad = degrees * math.pi / 180 if tabs and self.tabs: