mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
Divide by epsilon prior to normalizing
This commit is contained in:
@ -96,8 +96,8 @@ class Surface(Mobject):
|
|||||||
]
|
]
|
||||||
self.set_points(points)
|
self.set_points(points)
|
||||||
self.data["normal"] = normalize_along_axis(cross(
|
self.data["normal"] = normalize_along_axis(cross(
|
||||||
du_points - points,
|
(du_points - points) / self.epsilon,
|
||||||
dv_points - points,
|
(dv_points - points) / self.epsilon,
|
||||||
), 1)
|
), 1)
|
||||||
|
|
||||||
def apply_points_function(self, *args, **kwargs):
|
def apply_points_function(self, *args, **kwargs):
|
||||||
|
Reference in New Issue
Block a user