vec xyz to p_[3]