Macro nannou::glam::const_dvec3
source · macro_rules! const_dvec3 { ($fx3:expr) => { ... }; }
Expand description
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]);