We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7643a24 commit d64e799Copy full SHA for d64e799
1 file changed
src/geometry/rotation_interpolation.rs
@@ -74,8 +74,8 @@ impl<T: SimdRealField> Rotation3<T> {
74
where
75
T: RealField,
76
{
77
- let q1 = Rotation3::from(*self);
78
- let q2 = Rotation3::from(*other);
+ let q1 = UnitQuaternion::from(*self);
+ let q2 = UnitQuaternion::from(*other);
79
q1.try_slerp(&q2, t, epsilon).map(|q| q.into())
80
}
81
0 commit comments