Macro glam::const_mat2 [−][src]
Creates a Mat2
from two column vectors that can be used to initialize a constant value.
use glam::{const_mat2, Mat2}; const ZERO: Mat2 = const_mat2!([0.0; 4]); const IDENTITY: Mat2 = const_mat2!([1.0, 0.0], [0.0, 1.0]);