1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
mod private
{
}
crate::mod_interface!
{
// Matrix arithmetics.
layer arithmetics;
// /// Access to matrix.
// layer mat_access;
/// Matrix and all related.
layer mat;
orphan use super::mat;
/// 2D entities with 2 along both dimensions.
/// Useful for 2D graphics.
layer mat2x2;
orphan use super::mat2x2;
/// 2D entities with 2+homogenous coordinate along both dimensions.
/// Useful for 2D graphics.
layer mat2x2h;
orphan use super::mat2x2h;
/// 3D entities with 3 along both dimensions.
/// Useful for 3D graphics
layer mat3x3;
orphan use super::mat3x3;
/// 3D entities with 3+homogenous coordinate along both dimensions.
/// Useful for 3D graphics.
layer mat3x3h;
orphan use super::mat3x3h;
/// General functions for 4x4 matrices
layer mat4x4;
orphan use super::mat4x4;
/// Rotation.
layer rotation;
// orphan use super::rotation;
/// Rotation 2d.
layer rotation2;
// orphan use super::rotation2;
}