mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 14:03:59 +08:00
Fix rotation_between_vectors
This commit is contained in:
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user