2024-09-05 22:43:02 +00:00
|
|
|
#[derive(Clone,Copy,Hash,Eq,PartialEq)]
|
2024-09-05 20:36:38 +00:00
|
|
|
pub struct Matrix<const X:usize,const Y:usize,T>{
|
2024-09-06 17:52:17 +00:00
|
|
|
pub(crate) array:[[T;X];Y],
|
2024-08-30 20:02:48 +00:00
|
|
|
}
|
|
|
|
|
2024-09-05 20:36:38 +00:00
|
|
|
crate::impl_matrix!();
|
2024-09-04 20:38:29 +00:00
|
|
|
|
|
|
|
//Special case 3x3 matrix operations because I cba to write macros for the arbitrary cases
|
2024-09-05 20:36:38 +00:00
|
|
|
//crate::impl_matrix_3x3!();
|