pub fn mat3_transpose(m: [[f64; 3]; 3]) -> [[f64; 3]; 3]
Transpose a 3×3 matrix stored as [[f64;3\];3] (row-major).
[[f64;3\];3]