mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Update mobject.py
emmm i forgot to swap those
This commit is contained in:
parent
c1e14ef5b6
commit
b0fd520382
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ class Mobject(object):
|
|||
angle_of_vector(target_vect) - angle_of_vector(curr_vect),
|
||||
)
|
||||
self.rotate(
|
||||
np.arctan2(target_vect[2], get_norm(target_vect[:2])) - np.arctan2(curr_vect[2], get_norm(curr_vect[:2])),
|
||||
np.arctan2(curr_vect[2], get_norm(curr_vect[:2])) - np.arctan2(target_vect[2], get_norm(target_vect[:2])),
|
||||
axis = np.array([-target_vect[1], target_vect[0], 0]),
|
||||
)
|
||||
self.shift(start - self.get_start())
|
||||
|
|
Loading…
Add table
Reference in a new issue