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