mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 11:03:03 +08:00
Default to non-flat stroke for meshes
This commit is contained in:
@ -38,6 +38,7 @@ 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
|
||||
@ -51,6 +52,7 @@ class SurfaceMesh(VGroup):
|
||||
joint_type=joint_type,
|
||||
**kwargs
|
||||
)
|
||||
self.set_flat_stroke(flat_stroke)
|
||||
|
||||
def init_points(self) -> None:
|
||||
uv_surface = self.uv_surface
|
||||
|
Reference in New Issue
Block a user