strafe-project/fixed_wide_vectors/src/matrix.rs

10 lines
248 B
Rust
Raw Normal View History

2024-09-05 22:41:39 +00:00
#[derive(Clone,Copy)]
2024-09-05 20:36:38 +00:00
pub struct Matrix<const X:usize,const Y:usize,T>{
pub(crate) array:[[T;Y];X],
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!();