mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Update parameter range for sphere
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user