Macro bevy_math::const_dmat4 [−][src]
Creates a DMat4
from four column vectors that can be used to initialize a constant value.
use glam::{const_dmat4, DMat4}; const ZERO: DMat4 = const_dmat4!([0.0; 16]); const IDENTITY: DMat4 = const_dmat4!( [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] );