strafe-client/fixed_wide_vectors/src/matrix.rs

10 lines
248 B
Rust

#[derive(Clone,Copy)]
pub struct Matrix<const X:usize,const Y:usize,T>{
pub(crate) array:[[T;Y];X],
}
crate::impl_matrix!();
//Special case 3x3 matrix operations because I cba to write macros for the arbitrary cases
//crate::impl_matrix_3x3!();