A baseball player swings his bat at an oncoming pitch .