Creates a new position with the given yaw and pitch and the coordinates of this position.
the new position
the new yaw
the new pitch