#[cfg(not(feature = "scalar-math"))] #[cfg_attr(target_arch = "spirv", repr(simd))] #[cfg_attr(not(target_arch = "spirv"), repr(C))] pub struct Vec3 { pub x: T, pub y: T, pub z: T, } #[cfg(not(feature = "scalar-math"))] #[cfg_attr(target_arch = "spirv", repr(simd))] #[cfg_attr(not(target_arch = "spirv"), repr(C))] pub struct Vec4 { pub x: T, pub y: T, pub z: T, pub w: T, } #[cfg(not(feature = "scalar-math"))] #[cfg_attr(not(target_arch = "spirv"), repr(C))] pub struct Cols2 { pub x_axis: V, pub y_axis: V, } #[cfg_attr(not(target_arch = "spirv"), repr(C))] pub struct Cols3 { pub x_axis: V, pub y_axis: V, pub z_axis: V, } #[cfg_attr(not(target_arch = "spirv"), repr(C))] pub struct Cols4 { pub x_axis: V, pub y_axis: V, pub z_axis: V, pub w_axis: V, }