glam::Quat::lerp normalizes internally

This commit is contained in:
Joel Nordström 2020-10-25 22:11:25 +01:00
parent 3ffe6106ec
commit c50a9274a5

View File

@ -68,7 +68,7 @@ impl Linear<f32> for Quat {
impl Interpolate<f32> for Quat {
#[inline(always)]
fn lerp(a: Self, b: Self, t: f32) -> Self {
a.lerp(b, t).normalize()
a.lerp(b, t)
}
#[inline(always)]