[−][src]Module vek::mat::repr_c::column_major
Matrices stored in column-major layout.
Multiplying a column-major matrix by one or more column vectors is fast
due to the way it is implemented in SIMD
(a matrix * vector
mutliply is four broadcasts, one SIMD product and three fused-multiply-adds).
Because matrix * matrix
and matrix * vector
products are fastest with this layout,
it's the preferred one for most computer graphics libraries and application.
Re-exports
pub use self::mat4::Mat4; |
pub use self::mat3::Mat3; |
pub use self::mat2::Mat2; |
Modules
mat2 | 2x2 matrix. |
mat3 | 3x3 matrix. |
mat4 | 4x4 matrix. |