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