Searched refs:dT (Results 1 – 1 of 1) sorted by relevance
168 public void computePhysics(float sx, float sy, float dT) { in computePhysics() argument173 mPosX += mVelX * dT + ax * dT * dT / 2; in computePhysics()174 mPosY += mVelY * dT + ay * dT * dT / 2; in computePhysics()176 mVelX += ax * dT; in computePhysics()177 mVelY += ay * dT; in computePhysics()234 final float dT = (float) (t - mLastT) / 1000.f /** (1.0f / 1000000000.0f)*/; in updatePositions() local238 ball.computePhysics(sx, sy, dT); in updatePositions()