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