Default to non-flat stroke for meshes

This commit is contained in:
Grant Sanderson 2023-01-18 10:58:37 -08:00
parent 72e5bde274
commit 44e5f15ae9

View file

@ -38,6 +38,7 @@ 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
@ -51,6 +52,7 @@ 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