Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java95 float zAxisZ = eyeZ - centerZ; in setLookAtM() local
98 float rlf = 1.0f / Matrix.length(zAxisX, zAxisY, zAxisZ); in setLookAtM()
101 zAxisZ *= rlf; in setLookAtM()
104 float xAxisX = upY * zAxisZ - upZ * zAxisY; in setLookAtM()
105 float xAxisY = upZ * zAxisX - upX * zAxisZ; in setLookAtM()
115 float yAxisX = zAxisY * xAxisZ - zAxisZ * xAxisY; in setLookAtM()
116 float yAxisY = zAxisZ * xAxisX - zAxisX * xAxisZ; in setLookAtM()
131 rm[10] = zAxisZ; in setLookAtM()
132 rm[11] = (zAxisX * eyeX) + (zAxisY * eyeY) + (zAxisZ * eyeZ); in setLookAtM()