Macro glam::const_uvec2 [−][src]
Creates a UVec2
that can be used to initialize a constant value.
use glam::{const_uvec2, UVec2}; const ONE: UVec2 = const_uvec2!([1; 2]); const X: UVec2 = const_uvec2!([1, 0]);
Creates a UVec2
that can be used to initialize a constant value.
use glam::{const_uvec2, UVec2}; const ONE: UVec2 = const_uvec2!([1; 2]); const X: UVec2 = const_uvec2!([1, 0]);