From 1ff758dea878af07c7d60e8b3b56a6c8663137c7 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 7 Aug 2024 15:06:10 -0500 Subject: [PATCH] Remove (no longer necessary) specifications of non-flat stroke for 3d things --- manimlib/mobject/coordinate_systems.py | 3 --- manimlib/mobject/three_dimensions.py | 2 -- 2 files changed, 5 deletions(-) diff --git a/manimlib/mobject/coordinate_systems.py b/manimlib/mobject/coordinate_systems.py index 0502b19e..eb0c0b83 100644 --- a/manimlib/mobject/coordinate_systems.py +++ b/manimlib/mobject/coordinate_systems.py @@ -530,7 +530,6 @@ class ThreeDAxes(Axes): z_axis_config: dict = dict(), z_normal: Vect3 = DOWN, depth: float | None = None, - flat_stroke: bool = False, **kwargs ): Axes.__init__(self, x_range, y_range, **kwargs) @@ -555,8 +554,6 @@ class ThreeDAxes(Axes): self.axes.add(self.z_axis) self.add(self.z_axis) - self.set_flat_stroke(flat_stroke) - def get_all_ranges(self) -> list[Sequence[float]]: return [self.x_range, self.y_range, self.z_range] diff --git a/manimlib/mobject/three_dimensions.py b/manimlib/mobject/three_dimensions.py index 05a12ede..d29b7ec2 100644 --- a/manimlib/mobject/three_dimensions.py +++ b/manimlib/mobject/three_dimensions.py @@ -38,7 +38,6 @@ class SurfaceMesh(VGroup): normal_nudge: float = 1e-2, depth_test: bool = True, joint_type: str = 'no_joint', - flat_stroke: bool = False, **kwargs ): self.uv_surface = uv_surface @@ -52,7 +51,6 @@ class SurfaceMesh(VGroup): joint_type=joint_type, **kwargs ) - self.set_flat_stroke(flat_stroke) def init_points(self) -> None: uv_surface = self.uv_surface