Macro iron_shapes::vector [−][src]
Shorthand notation for creating a vector.
Example
use iron_shapes::prelude::*; let v = vector!(1, 2); assert_eq!(v, Vector::new(1, 2));
Shorthand notation for creating a vector.
use iron_shapes::prelude::*; let v = vector!(1, 2); assert_eq!(v, Vector::new(1, 2));