Type Definition perpendicular::Vector4[][src]

pub type Vector4<T> = Vector<T, 4>;
Expand description

Type alias for 4d vector

Implementations

Create a new 4D vector

let v = Vector::new4(1, 2, 3, 4);

assert_eq!(v.dimensions(), 4);