Macro glam::const_dvec2 [−][src]
Creates a DVec2
that can be used to initialize a constant value.
use glam::{const_dvec2, DVec2}; const ONE: DVec2 = const_dvec2!([1.0; 2]); const X: DVec2 = const_dvec2!([1.0, 0.0]);
Creates a DVec2
that can be used to initialize a constant value.
use glam::{const_dvec2, DVec2}; const ONE: DVec2 = const_dvec2!([1.0; 2]); const X: DVec2 = const_dvec2!([1.0, 0.0]);