Pass rotation angles directly when rotY or rotZ equals to 0 or 180 degrees