[−][src]Macro glam::const_ivec2
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 UNIT_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 UNIT_X: IVec2 = const_ivec2!([1, 0]);