Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java93 float zAxisX = eyeX - centerX; in setLookAtM() local
98 float rlf = 1.0f / Matrix.length(zAxisX, zAxisY, zAxisZ); in setLookAtM()
99 zAxisX *= rlf; in setLookAtM()
105 float xAxisY = upZ * zAxisX - upX * zAxisZ; in setLookAtM()
106 float xAxisZ = upX * zAxisY - upY * zAxisX; in setLookAtM()
116 float yAxisY = zAxisZ * xAxisX - zAxisX * xAxisZ; in setLookAtM()
117 float yAxisZ = zAxisX * xAxisY - zAxisY * xAxisX; in setLookAtM()
129 rm[8] = zAxisX; in setLookAtM()
132 rm[11] = (zAxisX * eyeX) + (zAxisY * eyeY) + (zAxisZ * eyeZ); in setLookAtM()