mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Update parameter range for sphere
This commit is contained in:
parent
fbce0b132c
commit
85638d88dc
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue