mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 22:47:45 +00:00
Clarify where normal is being inverted
This commit is contained in:
parent
441ac77eae
commit
827f4db5e2
1 changed files with 1 additions and 1 deletions
|
|
@ -1196,7 +1196,7 @@ class VMobject(Mobject):
|
|||
continue
|
||||
inner_ends = mob.get_subpath_end_indices()[:-1]
|
||||
mob.data["point"][inner_ends + 1] = mob.data["point"][inner_ends + 2]
|
||||
mob.data["base_normal"][1::2] *= -1
|
||||
mob.data["base_normal"][1::2] *= -1 # Invert normal vector
|
||||
self.subpath_end_indices = None
|
||||
return super().reverse_points()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue