1use crate::vec::{
2 bvec2, bvec3, bvec4, dvec2, dvec3, dvec4, ivec2, ivec3, ivec4, uvec2, uvec3, uvec4, vec2, vec3,
3 vec4,
4};
5
6use crate::array::{Array, Element};
7
8pub type bmat2x2 = Array<bvec2, [Element<bvec2>; 2]>;
10
11pub type bmat2x3 = Array<bvec3, [Element<bvec3>; 2]>;
13
14pub type bmat2x4 = Array<bvec4, [Element<bvec4>; 2]>;
16
17pub type bmat3x2 = Array<bvec2, [Element<bvec2>; 3]>;
19
20pub type bmat3x3 = Array<bvec3, [Element<bvec3>; 3]>;
22
23pub type bmat3x4 = Array<bvec4, [Element<bvec4>; 3]>;
25
26pub type bmat4x2 = Array<bvec2, [Element<bvec2>; 4]>;
28
29pub type bmat4x3 = Array<bvec3, [Element<bvec3>; 4]>;
31
32pub type bmat4x4 = Array<bvec4, [Element<bvec4>; 4]>;
34
35pub type bmat2 = bmat2x2;
37
38pub type bmat3 = bmat3x3;
40
41pub type bmat4 = bmat4x4;
43
44pub type imat2x2 = Array<ivec2, [Element<ivec2>; 2]>;
46
47pub type imat2x3 = Array<ivec3, [Element<ivec3>; 2]>;
49
50pub type imat2x4 = Array<ivec4, [Element<ivec4>; 2]>;
52
53pub type imat3x2 = Array<ivec2, [Element<ivec2>; 3]>;
55
56pub type imat3x3 = Array<ivec3, [Element<ivec3>; 3]>;
58
59pub type imat3x4 = Array<ivec4, [Element<ivec4>; 3]>;
61
62pub type imat4x2 = Array<ivec2, [Element<ivec2>; 4]>;
64
65pub type imat4x3 = Array<ivec3, [Element<ivec3>; 4]>;
67
68pub type imat4x4 = Array<ivec4, [Element<ivec4>; 4]>;
70
71pub type imat2 = imat2x2;
73
74pub type imat3 = imat3x3;
76
77pub type imat4 = imat4x4;
79
80pub type umat2x2 = Array<uvec2, [Element<uvec2>; 2]>;
82
83pub type umat2x3 = Array<uvec3, [Element<uvec3>; 2]>;
85
86pub type umat2x4 = Array<uvec4, [Element<uvec4>; 2]>;
88
89pub type umat3x2 = Array<uvec2, [Element<uvec2>; 3]>;
91
92pub type umat3x3 = Array<uvec3, [Element<uvec3>; 3]>;
94
95pub type umat3x4 = Array<uvec4, [Element<uvec4>; 3]>;
97
98pub type umat4x2 = Array<uvec2, [Element<uvec2>; 4]>;
100
101pub type umat4x3 = Array<uvec3, [Element<uvec3>; 4]>;
103
104pub type umat4x4 = Array<uvec4, [Element<uvec4>; 4]>;
106
107pub type umat2 = umat2x2;
109
110pub type umat3 = umat3x3;
112
113pub type umat4 = umat4x4;
115
116pub type mat2x2 = Array<vec2, [Element<vec2>; 2]>;
118
119pub type mat2x3 = Array<vec3, [Element<vec3>; 2]>;
121
122pub type mat2x4 = Array<vec4, [Element<vec4>; 2]>;
124
125pub type mat3x2 = Array<vec2, [Element<vec2>; 3]>;
127
128pub type mat3x3 = Array<vec3, [Element<vec3>; 3]>;
130
131pub type mat3x4 = Array<vec4, [Element<vec4>; 3]>;
133
134pub type mat4x2 = Array<vec2, [Element<vec2>; 4]>;
136
137pub type mat4x3 = Array<vec3, [Element<vec3>; 4]>;
139
140pub type mat4x4 = Array<vec4, [Element<vec4>; 4]>;
142
143pub type mat2 = mat2x2;
145
146pub type mat3 = mat3x3;
148
149pub type mat4 = mat4x4;
151
152pub type dmat2x2 = Array<dvec2, [Element<dvec2>; 2]>;
154
155pub type dmat2x3 = Array<dvec3, [Element<dvec3>; 2]>;
157
158pub type dmat2x4 = Array<dvec4, [Element<dvec4>; 2]>;
160
161pub type dmat3x2 = Array<dvec2, [Element<dvec2>; 3]>;
163
164pub type dmat3x3 = Array<dvec3, [Element<dvec3>; 3]>;
166
167pub type dmat3x4 = Array<dvec4, [Element<dvec4>; 3]>;
169
170pub type dmat4x2 = Array<dvec2, [Element<dvec2>; 4]>;
172
173pub type dmat4x3 = Array<dvec3, [Element<dvec3>; 4]>;
175
176pub type dmat4x4 = Array<dvec4, [Element<dvec4>; 4]>;
178
179pub type dmat2 = dmat2x2;
181
182pub type dmat3 = dmat3x3;
184
185pub type dmat4 = dmat4x4;