mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 13:03:31 +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.data["normal"] = normalize_along_axis(cross(
|
||||
du_points - points,
|
||||
dv_points - points,
|
||||
(du_points - points) / self.epsilon,
|
||||
(dv_points - points) / self.epsilon,
|
||||
), 1)
|
||||
|
||||
def apply_points_function(self, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user