Module own

Source
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
MatWithShape
A trait indicate that matrix in case of referencing it can be interpreted as such having specified shape ROWS x COLS.
MatWithShapeMut
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.

Type Aliases§

F32x2x2
F32x3x3
F32x4x4
F64x2x2
F64x3x3
F64x4x4
Mat2
Mat3
Mat4