vectors and 3d geometry