rx, ry in radians