mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix rotation_between_vectors
This commit is contained in:
parent
ef04b9eb01
commit
3878b8c077
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ def rotation_between_vectors(v1: Vect3, v2: Vect3) -> Matrix3x3:
|
|||
axis = np.cross(v1, UP)
|
||||
return rotation_matrix(
|
||||
angle=angle_between_vectors(v1, v2),
|
||||
axis=np.cross(v1, v2)
|
||||
axis=axis,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue