Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DOrientationSensor.cpp53 const float rad2deg = 180 / M_PI; in process() local
55 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in process()
56 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in process()
57 g[2] = asinf ( R[2][0]) * rad2deg; in process()