Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c61 #define RADIANS_TO_DEGREES (180.0f / M_PI) macro
468 tilt_tmp = (int)(asinf(z / magnitude) * RADIANS_TO_DEGREES); in add_samples()
503 orientation_angle = (int)(-atan2f(-x, y) * RADIANS_TO_DEGREES); in add_samples()