draft orientationtoworldup function