Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java104 float xAxisX = upY * zAxisZ - upZ * zAxisY; in setLookAtM() local
109 float rls = 1.0f / Matrix.length(xAxisX, xAxisY, xAxisZ); in setLookAtM()
110 xAxisX *= rls; in setLookAtM()
116 float yAxisY = zAxisZ * xAxisX - zAxisX * xAxisZ; in setLookAtM()
117 float yAxisZ = zAxisX * xAxisY - zAxisY * xAxisX; in setLookAtM()
119 rm[0] = xAxisX; in setLookAtM()
122 rm[3] = (xAxisX * eyeX) + (xAxisY * eyeY) + (xAxisZ * eyeZ); in setLookAtM()