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