Note that sorting surface indices affects data

This commit is contained in:
Grant Sanderson 2023-01-26 20:02:28 -08:00
parent 258bc2256a
commit 3a175c1a4c

View file

@ -195,6 +195,7 @@ class Surface(Mobject):
).reshape(shape)
return points.reshape((nu * nv, *resolution[2:]))
@Mobject.affects_data
def sort_faces_back_to_front(self, vect: Vect3 = OUT):
tri_is = self.triangle_indices
points = self.get_points()