mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
No need for du_points, and dv_points in SurfaceMesh
This commit is contained in:
parent
e950286fa4
commit
0de914fd01
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class SurfaceMesh(VGroup):
|
||||||
u_indices = np.linspace(0, full_nu - 1, part_nu)
|
u_indices = np.linspace(0, full_nu - 1, part_nu)
|
||||||
v_indices = np.linspace(0, full_nv - 1, part_nv)
|
v_indices = np.linspace(0, full_nv - 1, part_nv)
|
||||||
|
|
||||||
points, du_points, dv_points = uv_surface.get_surface_points_and_nudged_points()
|
points = uv_surface.get_points()
|
||||||
normals = uv_surface.get_unit_normals()
|
normals = uv_surface.get_unit_normals()
|
||||||
nudge = self.normal_nudge
|
nudge = self.normal_nudge
|
||||||
nudged_points = points + nudge * normals
|
nudged_points = points + nudge * normals
|
||||||
|
|
Loading…
Add table
Reference in a new issue