A calculation of turning motion in regular waves