This adds From<Vector2d<C>> for [C; 2] and From<Vector3d<C>> for [C; 3] (and their Into, as well as tuple counterparts). The functions to_array() already existed, so this simply expresses it as a trait implementation.
Same for Quaternion to keep the symmetry in behavior, the to_array function also existed here already.
This adds
From<Vector2d<C>> for [C; 2]
andFrom<Vector3d<C>> for [C; 3]
(and their Into, as well as tuple counterparts). The functionsto_array()
already existed, so this simply expresses it as a trait implementation.Same for
Quaternion
to keep the symmetry in behavior, theto_array
function also existed here already.