mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Note that sorting surface indices affects data
This commit is contained in:
parent
258bc2256a
commit
3a175c1a4c
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ class Surface(Mobject):
|
||||||
).reshape(shape)
|
).reshape(shape)
|
||||||
return points.reshape((nu * nv, *resolution[2:]))
|
return points.reshape((nu * nv, *resolution[2:]))
|
||||||
|
|
||||||
|
@Mobject.affects_data
|
||||||
def sort_faces_back_to_front(self, vect: Vect3 = OUT):
|
def sort_faces_back_to_front(self, vect: Vect3 = OUT):
|
||||||
tri_is = self.triangle_indices
|
tri_is = self.triangle_indices
|
||||||
points = self.get_points()
|
points = self.get_points()
|
||||||
|
|
Loading…
Add table
Reference in a new issue