Expand description

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

2x2 matrix.

3x3 matrix.

4x4 matrix.