mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Divide by epsilon prior to normalizing
This commit is contained in:
parent
a58327657c
commit
5ff44f5850
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue