Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java28 private double[] mUpVector; field in ViewMatrix
53 if (src.mUpVector != null) { in clone()
54 System.arraycopy(src.mUpVector, 0, mUpVector, 0, mUpVector.length); in clone()
113 Log.v(LOGTAG, "mUpVector :" + toStr(mUpVector)); in print()
121 mUpVector = new double[3]; in ViewMatrix()
146 return mUpVector; in getUpVector()
149 public void setUpVector(double[] mUpVector) { in setUpVector() argument
150 this.mUpVector = mUpVector; in setUpVector()
184 calcRight(zv, mUpVector, zv); in calcMatrix()
192 m[1] = -mUpVector[0] * scale; in calcMatrix()
[all …]
DTransform.java104 public void setUpVector(double[] mUpVector) { in setUpVector() argument
105 mViewMatrix.setUpVector(mUpVector); in setUpVector()
161 double[] mUpVector = {0., 0., 1.}; in main() local
167 t.setUpVector(mUpVector); in main()