From 85638d88dc7f26d0e5de8074465c754821c295b9 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 25 Nov 2024 12:39:41 -0700 Subject: [PATCH] Update parameter range for sphere --- manimlib/mobject/three_dimensions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manimlib/mobject/three_dimensions.py b/manimlib/mobject/three_dimensions.py index b0fd4b47..32b5bbce 100644 --- a/manimlib/mobject/three_dimensions.py +++ b/manimlib/mobject/three_dimensions.py @@ -94,7 +94,7 @@ class Sphere(Surface): def __init__( self, u_range: Tuple[float, float] = (0, TAU), - v_range: Tuple[float, float] = (1e-5, PI - 1e-5), + v_range: Tuple[float, float] = (0, PI), resolution: Tuple[int, int] = (101, 51), radius: float = 1.0, **kwargs, @@ -158,7 +158,6 @@ class Cylinder(Surface): **kwargs ) - def init_points(self): super().init_points() self.scale(self.radius)