Macro nif::common::const_ivec4 [−][src]
macro_rules! const_ivec4 { ($ix4 : expr) => { ... }; }
Expand description
Creates a IVec4
that can be used to initialize a constant value.
use glam::{const_ivec4, IVec4}; const ONE: IVec4 = const_ivec4!([1; 4]); const X: IVec4 = const_ivec4!([1, 0, 0, 0]);