Searched refs:Ax (Results 1 – 1 of 1) sorted by relevance
1110 float Ax = gravity[0]; in getRotationMatrix() local1114 final float normsqA = (Ax*Ax + Ay*Ay + Az*Az); in getRotationMatrix()1126 float Hy = Ez*Ax - Ex*Az; in getRotationMatrix()1127 float Hz = Ex*Ay - Ey*Ax; in getRotationMatrix()1139 final float invA = 1.0f / (float)Math.sqrt(Ax*Ax + Ay*Ay + Az*Az); in getRotationMatrix()1140 Ax *= invA; in getRotationMatrix()1144 final float My = Az*Hx - Ax*Hz; in getRotationMatrix()1145 final float Mz = Ax*Hy - Ay*Hx; in getRotationMatrix()1150 R[6] = Ax; R[7] = Ay; R[8] = Az; in getRotationMatrix()1154 R[8] = Ax; R[9] = Ay; R[10] = Az; R[11] = 0; in getRotationMatrix()[all …]