The original code is `ptTemp.x += acc->x * 9.81f`;