[−][src]Macro glam::const_vec3a
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]);
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]);