Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/
DVrView.java200 double dist_y = (y - mDownPointY) * mDownScreenWidth / getWidth(); in panMove() local
203 p[0] = mDownEyePoint[0] + dist_x * mDownRightVector[0] + dist_y * mDownUpVector[0]; in panMove()
204 p[1] = mDownEyePoint[1] + dist_x * mDownRightVector[1] + dist_y * mDownUpVector[1]; in panMove()
205 p[2] = mDownEyePoint[2] + dist_x * mDownRightVector[2] + dist_y * mDownUpVector[2]; in panMove()
208 p[0] = mDownLookPoint[0] + dist_x * mDownRightVector[0] + dist_y * mDownUpVector[0]; in panMove()
209 p[1] = mDownLookPoint[1] + dist_x * mDownRightVector[1] + dist_y * mDownUpVector[1]; in panMove()
210 p[2] = mDownLookPoint[2] + dist_x * mDownRightVector[2] + dist_y * mDownUpVector[2]; in panMove()