From d9a5b30b0f3e219b5e1f4adea058a00f3f53ffa7 Mon Sep 17 00:00:00 2001 From: Domenico Verde Date: Sun, 27 Oct 2024 22:00:31 +0100 Subject: [PATCH] fix: f64 glam interpolation support --- src/glam.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/glam.rs b/src/glam.rs index 4333c14..4d2765e 100644 --- a/src/glam.rs +++ b/src/glam.rs @@ -1,8 +1,13 @@ use crate::impl_Interpolate; -use glam::{Quat, Vec2, Vec3, Vec3A, Vec4}; +use glam::{DQuat, DVec2, DVec3, DVec4, Quat, Vec2, Vec3, Vec3A, Vec4}; impl_Interpolate!(f32, Vec2, std::f32::consts::PI); impl_Interpolate!(f32, Vec3, std::f32::consts::PI); impl_Interpolate!(f32, Vec3A, std::f32::consts::PI); impl_Interpolate!(f32, Vec4, std::f32::consts::PI); impl_Interpolate!(f32, Quat, std::f32::consts::PI); + +impl_Interpolate!(f64, DVec2, std::f64::consts::PI); +impl_Interpolate!(f64, DVec3, std::f64::consts::PI); +impl_Interpolate!(f64, DVec4, std::f64::consts::PI); +impl_Interpolate!(f64, DQuat, std::f64::consts::PI);