Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #118 from LordRibblesdale/master
Browse files Browse the repository at this point in the history
fix: f64 glam interpolation support
  • Loading branch information
hadronized authored Oct 28, 2024
2 parents fc56891 + d9a5b30 commit 23d3560
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/glam.rs
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 23d3560

Please sign in to comment.