Searched refs:rotationAngles (Results 1 – 1 of 1) sorted by relevance
124 float[] rotationAngles = new float[3]; in getOrientationUsingGetRotationMatrix() local125 SensorManager.getOrientation(deviceRotationMatrix, rotationAngles); in getOrientationUsingGetRotationMatrix()126 double alpha = Math.toDegrees(-rotationAngles[0]) - 90.0; in getOrientationUsingGetRotationMatrix()128 double beta = Math.toDegrees(-rotationAngles[1]); in getOrientationUsingGetRotationMatrix()130 double gamma = Math.toDegrees(rotationAngles[2]); in getOrientationUsingGetRotationMatrix()