From 3a1e5e1bcf020995c0e56a38b5d9771c7b93554b Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Tue, 7 Dec 2021 10:07:49 -0800 Subject: [PATCH] Remove old implementation for SurfaceMesh --- manimlib/mobject/three_dimensions.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/manimlib/mobject/three_dimensions.py b/manimlib/mobject/three_dimensions.py index 01abe501..b197a6b9 100644 --- a/manimlib/mobject/three_dimensions.py +++ b/manimlib/mobject/three_dimensions.py @@ -46,10 +46,6 @@ class SurfaceMesh(VGroup): for ui in u_indices: path = VMobject() - # full_ui = full_nv * ui - # path.set_points_smoothly( - # nudged_points[full_ui:full_ui + full_nv] - # ) low_ui = full_nv * int(math.floor(ui)) high_ui = full_nv * int(math.ceil(ui)) path.set_points_smoothly(interpolate( @@ -60,9 +56,6 @@ class SurfaceMesh(VGroup): self.add(path) for vi in v_indices: path = VMobject() - # path.set_points_smoothly( - # nudged_points[vi::full_nv] - # ) path.set_points_smoothly(interpolate( nudged_points[int(math.floor(vi))::full_nv], nudged_points[int(math.ceil(vi))::full_nv],