From 6edf9b42160283e52662d6e4bae44ec04a20c402 Mon Sep 17 00:00:00 2001 From: HK416 Date: Tue, 16 Jul 2024 18:37:41 +0900 Subject: [PATCH] Fixed compile error occurring in x86, x86_64 sse2 --- src/vec/mod.rs | 4 ++-- src/vec/sse2/quaternion.rs | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/vec/mod.rs b/src/vec/mod.rs index 138fb12..6b47ad4 100644 --- a/src/vec/mod.rs +++ b/src/vec/mod.rs @@ -12,10 +12,10 @@ //! - `x86`, `x86_64` - Supports SIMD operations using `sse2`. //! -#[cfg(any(feature = "scalar-math", not(any(target_feature = "neon", target_feature = "ssec2"))))] +#[cfg(any(feature = "scalar-math", not(any(target_feature = "neon", target_feature = "sse2"))))] mod scalar; -#[cfg(any(feature = "scalar-math", not(any(target_feature = "neon", target_feature = "ssec2"))))] +#[cfg(any(feature = "scalar-math", not(any(target_feature = "neon", target_feature = "sse2"))))] pub use self::scalar::*; #[cfg(all(target_feature = "neon", not(feature = "scalar-math")))] diff --git a/src/vec/sse2/quaternion.rs b/src/vec/sse2/quaternion.rs index fe2bc11..23ab1d9 100644 --- a/src/vec/sse2/quaternion.rs +++ b/src/vec/sse2/quaternion.rs @@ -7,7 +7,10 @@ use core::arch::x86::*; #[cfg(target_pointer_width = "64")] use core::arch::x86_64::*; -use crate::{ Vector, VectorInt, Float4 }; +use crate::{ + Matrix, Vector, VectorInt, + Float3, Float4, Float4x4 +};