Convert orientation vector to a direction