forked from StrafesNET/strafe-project
10 lines
266 B
Rust
10 lines
266 B
Rust
#[derive(Clone,Copy,Hash,Eq,PartialEq)]
|
|
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!();
|