glam::Quat::lerp normalizes internally
This commit is contained in:
parent
3ffe6106ec
commit
c50a9274a5
@ -68,7 +68,7 @@ impl Linear<f32> for Quat {
|
|||||||
impl Interpolate<f32> for Quat {
|
impl Interpolate<f32> for Quat {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn lerp(a: Self, b: Self, t: f32) -> Self {
|
fn lerp(a: Self, b: Self, t: f32) -> Self {
|
||||||
a.lerp(b, t).normalize()
|
a.lerp(b, t)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
|
Loading…
Reference in New Issue
Block a user