glam/
deref.rs

1#[cfg(not(any(feature = "scalar-math", target_arch = "spirv")))]
2#[repr(C)]
3pub struct Vec3<T> {
4    pub x: T,
5    pub y: T,
6    pub z: T,
7}
8
9#[cfg(not(any(feature = "scalar-math", target_arch = "spirv")))]
10#[repr(C)]
11pub struct Vec4<T> {
12    pub x: T,
13    pub y: T,
14    pub z: T,
15    pub w: T,
16}
17
18#[cfg(not(any(feature = "scalar-math", target_arch = "spirv")))]
19#[repr(C)]
20pub struct Cols2<V> {
21    pub x_axis: V,
22    pub y_axis: V,
23}
24
25#[repr(C)]
26pub struct Cols3<V> {
27    pub x_axis: V,
28    pub y_axis: V,
29    pub z_axis: V,
30}
31
32#[repr(C)]
33pub struct Cols4<V> {
34    pub x_axis: V,
35    pub y_axis: V,
36    pub z_axis: V,
37    pub w_axis: V,
38}