diff --git a/fixed_wide_vectors/src/affine.rs b/fixed_wide_vectors/src/affine.rs deleted file mode 100644 index d4bcc00..0000000 --- a/fixed_wide_vectors/src/affine.rs +++ /dev/null @@ -1,20 +0,0 @@ -use std::ops::Add; -use fixed_wide_traits::wide::WideDot; - -//TODO: replace this with 4x3 matrix -// mat4x3.wide_dot(vec3.extend(1)) - -pub struct Affine{ - pub matrix:M, - pub offset:T, -} - -impl Affine{ - pub fn wide_transform(&self,input:X)-><>::Output as Add>::Output - where - M:WideDot, - >::Output:Add, - { - self.matrix.wide_dot(input)+self.offset - } -} diff --git a/fixed_wide_vectors/src/lib.rs b/fixed_wide_vectors/src/lib.rs index 2dc585f..775c4e6 100644 --- a/fixed_wide_vectors/src/lib.rs +++ b/fixed_wide_vectors/src/lib.rs @@ -1,9 +1,6 @@ mod macros; mod vector; -#[cfg(feature="fixed_wide_traits")] -pub mod affine; - pub use vector::Vector2; pub use vector::Vector3; pub use vector::Vector4;