From a58327657c49a4230a4949fe44de7c0828db4ba9 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 30 Jan 2023 20:50:42 -0800 Subject: [PATCH] Provide an epsilon of room to Sphere at poles --- manimlib/mobject/three_dimensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/mobject/three_dimensions.py b/manimlib/mobject/three_dimensions.py index 5c4eefe0..3fc9c719 100644 --- a/manimlib/mobject/three_dimensions.py +++ b/manimlib/mobject/three_dimensions.py @@ -96,7 +96,7 @@ class Sphere(Surface): def __init__( self, u_range: Tuple[float, float] = (0, TAU), - v_range: Tuple[float, float] = (0, PI), + v_range: Tuple[float, float] = (1e-5, PI - 1e-5), resolution: Tuple[int, int] = (101, 51), radius: float = 1.0, **kwargs,