Home
last modified time | relevance | path

Searched refs:dTC (Results 1 – 1 of 1) sorted by relevance

/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java161 public void computePhysics(float sx, float sy, float dT, float dTC) { in computePhysics() argument
186 final float x = mPosX + mOneMinusFriction * dTC * (mPosX - mLastPosX) + mAccelX in computePhysics()
188 final float y = mPosY + mOneMinusFriction * dTC * (mPosY - mLastPosY) + mAccelY in computePhysics()
247 final float dTC = dT / mLastDeltaT; in updatePositions() local
251 ball.computePhysics(sx, sy, dT, dTC); in updatePositions()