macro_rules! const_vec3a {
($f32x3:expr) => { ... };
}
Expand description
Creates a Vec3A
that can be used to initialize a constant value.
use glam::{const_vec3a, Vec3A};
const ONE: Vec3A = const_vec3a!([1.0; 3]);
const X_AXIS: Vec3A = const_vec3a!([1.0, 0.0, 0.0]);