Skip to content

Commit

Permalink
Fixed compile error occurring in x86, x86_64 sse2
Browse files Browse the repository at this point in the history
  • Loading branch information
HK416 committed Jul 16, 2024
1 parent 93c1318 commit 6edf9b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")))]
Expand Down
5 changes: 4 additions & 1 deletion src/vec/sse2/quaternion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
};



Expand Down

0 comments on commit 6edf9b4

Please sign in to comment.