This commit is contained in:
Violeta Hernández 2021-06-17 02:45:33 -05:00 committed by GitHub
parent 7643a24cc1
commit d64e799fc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,8 +74,8 @@ impl<T: SimdRealField> Rotation3<T> {
where
T: RealField,
{
let q1 = Rotation3::from(*self);
let q2 = Rotation3::from(*other);
let q1 = UnitQuaternion::from(*self);
let q2 = UnitQuaternion::from(*other);
q1.try_slerp(&q2, t, epsilon).map(|q| q.into())
}
}