Macro nannou::glam::const_ivec3
source · macro_rules! const_ivec3 { ($ix3:expr) => { ... }; }
Expand description
Creates a IVec3
that can be used to initialize a constant value.
use glam::{const_ivec3, IVec3};
const ONE: IVec3 = const_ivec3!([1; 3]);
const X: IVec3 = const_ivec3!([1, 0, 0]);