[−][src]Macro glam::const_vec3
Creates a Vec3
that can be used to initialize a constant value.
use glam::{const_vec3, Vec3}; const ONE: Vec3 = const_vec3!([1.0; 3]); const X_AXIS: Vec3 = const_vec3!([1.0, 0.0, 0.0]);
Creates a Vec3
that can be used to initialize a constant value.
use glam::{const_vec3, Vec3}; const ONE: Vec3 = const_vec3!([1.0; 3]); const X_AXIS: Vec3 = const_vec3!([1.0, 0.0, 0.0]);