strafe-client/fixed_wide_vectors/src/matrix.rs

10 lines
264 B
Rust

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