macro_rules! const_uvec2 {
    ($ux2:expr) => { ... };
}
Expand description

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]);