Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java349 float springStrength = 20.f; in doPhysics() local
358 … totalForce[0] = -mPos[0] * springStrength - mVel[0]*frictionCoeff + gMultiplier*mGForce[0]*mass; in doPhysics()
359 … totalForce[1] = -mPos[1] * springStrength - mVel[1]*frictionCoeff + gMultiplier*mGForce[1]*mass; in doPhysics()
360 … totalForce[2] = -mPos[2] * springStrength - mVel[2]*frictionCoeff + gMultiplier*mGForce[2]*mass; in doPhysics()