Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java154 mVel[0] = 0.f; in CamRenderer()
155 mVel[1] = 0.f; in CamRenderer()
156 mVel[2] = 0.f; in CamRenderer()
168 mVel[0] = 0; in setPosition()
169 mVel[1] = 0; in setPosition()
170 mVel[2] = 0; in setPosition()
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()
368 mVel[0] = mVel[0] + accel[0]*deltaT; in doPhysics()
[all …]