Go back to non-flat-stroke as the default

This commit is contained in:
Grant Sanderson
2024-08-21 16:05:02 -05:00
parent ceac4fbe1a
commit 442206faad
3 changed files with 1 additions and 5 deletions

View File

@ -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)
@ -554,7 +553,6 @@ class ThreeDAxes(Axes):
self.z_axis.shift(self.x_axis.n2p(0))
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]

View File

@ -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
@ -50,7 +49,6 @@ class SurfaceMesh(VGroup):
stroke_width=stroke_width,
depth_test=depth_test,
joint_type=joint_type,
flat_stroke=flat_stroke,
**kwargs
)

View File

@ -91,7 +91,7 @@ class VMobject(Mobject):
long_lines: bool = False,
# Could also be "no_joint", "bevel", "miter"
joint_type: str = "auto",
flat_stroke: bool = True,
flat_stroke: bool = False,
use_simple_quadratic_approx: bool = False,
# Measured in pixel widths
anti_alias_width: float = 1.5,