Macro glam::const_mat3a
source · macro_rules! const_mat3a { ($col0:expr, $col1:expr, $col2:expr) => { ... }; ($fx9:expr) => { ... }; }
Expand description
Creates a Mat3A
from three column vectors that can be used to initialize a constant value.
use glam::{const_mat3a, Mat3A};
const ZERO: Mat3A = const_mat3a!([0.0; 9]);
const IDENTITY: Mat3A = const_mat3a!([1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]);