Macro glam::const_vec3a [−][src]
macro_rules! const_vec3a { ($fx3: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: Vec3A = const_vec3a!([1.0, 0.0, 0.0]);