Type Definition perpendicular::Vector3[][src]

pub type Vector3<T> = Vector<T, 3>;
Expand description

Type alias for 3d vector

Implementations

Create a new 2D vector

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

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