Convert 3D vector to position.
A point (x, y, z) given by the components of a vector will be represented by [x, y, z, 1] in homogeneous coordinates to which we can apply a transformation.
- varray-like, shape (3,)
3D vector that contains x, y, and z
- parray-like, shape (4,)
Point vector with 1 as last element