Type Definition Vector3
Other items inperpendicular
type Vector3<T> = Vector<T, 3>;
Type alias for 3d vector
impl<T> Vector3<T>
pub const fn new3(x: T, y: T, z: T) -> Self
Create a new 2D vector
let v = Vector::new3(1, 2, 3); assert_eq!(v.dimensions(), 3);