mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Remove (no longer necessary) specifications of non-flat stroke for 3d things
This commit is contained in:
parent
bf43a648a4
commit
1ff758dea8
2 changed files with 0 additions and 5 deletions
|
@ -530,7 +530,6 @@ class ThreeDAxes(Axes):
|
||||||
z_axis_config: dict = dict(),
|
z_axis_config: dict = dict(),
|
||||||
z_normal: Vect3 = DOWN,
|
z_normal: Vect3 = DOWN,
|
||||||
depth: float | None = None,
|
depth: float | None = None,
|
||||||
flat_stroke: bool = False,
|
|
||||||
**kwargs
|
**kwargs
|
||||||
):
|
):
|
||||||
Axes.__init__(self, x_range, y_range, **kwargs)
|
Axes.__init__(self, x_range, y_range, **kwargs)
|
||||||
|
@ -555,8 +554,6 @@ class ThreeDAxes(Axes):
|
||||||
self.axes.add(self.z_axis)
|
self.axes.add(self.z_axis)
|
||||||
self.add(self.z_axis)
|
self.add(self.z_axis)
|
||||||
|
|
||||||
self.set_flat_stroke(flat_stroke)
|
|
||||||
|
|
||||||
def get_all_ranges(self) -> list[Sequence[float]]:
|
def get_all_ranges(self) -> list[Sequence[float]]:
|
||||||
return [self.x_range, self.y_range, self.z_range]
|
return [self.x_range, self.y_range, self.z_range]
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ class SurfaceMesh(VGroup):
|
||||||
normal_nudge: float = 1e-2,
|
normal_nudge: float = 1e-2,
|
||||||
depth_test: bool = True,
|
depth_test: bool = True,
|
||||||
joint_type: str = 'no_joint',
|
joint_type: str = 'no_joint',
|
||||||
flat_stroke: bool = False,
|
|
||||||
**kwargs
|
**kwargs
|
||||||
):
|
):
|
||||||
self.uv_surface = uv_surface
|
self.uv_surface = uv_surface
|
||||||
|
@ -52,7 +51,6 @@ class SurfaceMesh(VGroup):
|
||||||
joint_type=joint_type,
|
joint_type=joint_type,
|
||||||
**kwargs
|
**kwargs
|
||||||
)
|
)
|
||||||
self.set_flat_stroke(flat_stroke)
|
|
||||||
|
|
||||||
def init_points(self) -> None:
|
def init_points(self) -> None:
|
||||||
uv_surface = self.uv_surface
|
uv_surface = self.uv_surface
|
||||||
|
|
Loading…
Add table
Reference in a new issue