Expand description
Own namespace of the module.
Modules§
- mat
- Matrix and all related.
- mat2x2
- 2D entities with 2 along both dimensions. Useful for 2D graphics.
- mat2x2h
- 2D entities with 2+homogenous coordinate along both dimensions. Useful for 2D graphics.
- mat3x3
- 3D entities with 3 along both dimensions. Useful for 3D graphics
- mat3x3h
- 3D entities with 3+homogenous coordinate along both dimensions. Useful for 3D graphics.
- mat4x4
- General functions for 4x4 matrices
Structs§
- Mat
- A matrix structure.
Traits§
- MatEl
- MatWith
Shape - A trait indicate that matrix in case of referencing it can be interpreted as such having specified shape
ROWS x COLS. - MatWith
Shape Mut - A trait indicate that matrix in case of mutable referencing it can be interpreted as such having specified shape
ROWS x COLS. - Rotation
- Trait for representing and manipulating rotations.
Functions§
- add
- Adds two matrices.
- div_
scalar - Devide matrix by a scalar.
- mul
- Multiplies two matrices.
- mul_
mat_ vec - Multiplies vector by a matrix.