aboutsummaryrefslogtreecommitdiff
path: root/src/swizzles.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/swizzles.rs')
-rw-r--r--src/swizzles.rs42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/swizzles.rs b/src/swizzles.rs
new file mode 100644
index 0000000..61a3391
--- /dev/null
+++ b/src/swizzles.rs
@@ -0,0 +1,42 @@
+mod dvec2_impl;
+mod dvec3_impl;
+mod dvec4_impl;
+
+mod ivec2_impl;
+mod ivec3_impl;
+mod ivec4_impl;
+
+mod uvec2_impl;
+mod uvec3_impl;
+mod uvec4_impl;
+
+mod vec2_impl;
+mod vec3_impl;
+
+#[cfg(any(
+ not(any(
+ feature = "core-simd",
+ target_feature = "sse2",
+ target_feature = "simd128"
+ )),
+ feature = "scalar-math"
+))]
+mod scalar;
+
+#[cfg(all(
+ target_feature = "sse2",
+ not(any(feature = "core-simd", feature = "scalar-math"))
+))]
+mod sse2;
+
+#[cfg(all(
+ target_feature = "simd128",
+ not(any(feature = "core-simd", feature = "scalar-math"))
+))]
+mod wasm32;
+
+#[cfg(all(feature = "core-simd", not(feature = "scalar-math")))]
+mod coresimd;
+
+mod vec_traits;
+pub use vec_traits::*;