diff options
author | Chris Blackbourn <chrisbblend@gmail.com> | 2022-08-03 04:27:13 +0300 |
---|---|---|
committer | Chris Blackbourn <chrisbblend@gmail.com> | 2022-08-03 04:27:13 +0300 |
commit | 84b160719698c6ff57c8b3dde170cbc03bdd2ee7 (patch) | |
tree | 46531487421f251772948dc10e411cde96cd0b81 | |
parent | 68c1eb86a6b809975d7cc8b08deb8f847d8e4586 (diff) |
Cleanup: make format
-rw-r--r-- | release/scripts/modules/gpu_extras/presets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/gpu_extras/presets.py b/release/scripts/modules/gpu_extras/presets.py index 222d9032cfd..eba8d6c161d 100644 --- a/release/scripts/modules/gpu_extras/presets.py +++ b/release/scripts/modules/gpu_extras/presets.py @@ -24,7 +24,7 @@ def draw_circle_2d(position, color, radius, *, segments=None): ) if segments is None: - max_pixel_error = 0.25 # TODO: multiply 0.5 by display dpi + max_pixel_error = 0.25 # TODO: multiply 0.5 by display dpi segments = int(ceil(pi / acos(1.0 - max_pixel_error / radius))) segments = max(segments, 8) segments = min(segments, 1000) |