glam 0.30.8

A simple and fast 3D math library for games and graphics
Documentation
#[cfg(not(any(feature = "scalar-math", target_arch = "spirv")))]
#[repr(C)]
pub struct Vec3<T> {
    pub x: T,
    pub y: T,
    pub z: T,
}

#[cfg(not(any(feature = "scalar-math", target_arch = "spirv")))]
#[repr(C)]
pub struct Vec4<T> {
    pub x: T,
    pub y: T,
    pub z: T,
    pub w: T,
}

#[cfg(not(any(feature = "scalar-math", target_arch = "spirv")))]
#[repr(C)]
pub struct Cols2<V> {
    pub x_axis: V,
    pub y_axis: V,
}

#[repr(C)]
pub struct Cols3<V> {
    pub x_axis: V,
    pub y_axis: V,
    pub z_axis: V,
}

#[repr(C)]
pub struct Cols4<V> {
    pub x_axis: V,
    pub y_axis: V,
    pub z_axis: V,
    pub w_axis: V,
}