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