Searched refs:Ez (Results 1 – 1 of 1) sorted by relevance
995 final float Ez = geomagnetic[2]; in getRotationMatrix() local996 float Hx = Ey*Az - Ez*Ay; in getRotationMatrix()997 float Hy = Ez*Ax - Ex*Az; in getRotationMatrix()1033 final float invE = 1.0f / (float)Math.sqrt(Ex*Ex + Ey*Ey + Ez*Ez); in getRotationMatrix()1034 final float c = (Ex*Mx + Ey*My + Ez*Mz) * invE; in getRotationMatrix()1035 final float s = (Ex*Ax + Ey*Ay + Ez*Az) * invE; in getRotationMatrix()