Spur gearing with straight and helical toothing