Home
last modified time | relevance | path

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

/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A 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()
121 mUpVector = new double[3]; in ViewMatrix()
146 return mUpVector; in getUpVector()
150 this.mUpVector = mUpVector; in setUpVector()
184 calcRight(zv, mUpVector, zv); in calcMatrix()
192 m[1] = -mUpVector[0] * scale; in calcMatrix()
193 m[5] = -mUpVector[1] * scale; in calcMatrix()
287 mUpVector = up; in look()
[all …]
H A 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()