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.c57 #define RADIANS_TO_DEGREES (180.0f / M_PI) macro
464 tilt_tmp = (int)(asinf(z / magnitude) * RADIANS_TO_DEGREES); in add_samples()
499 orientation_angle = (int)(-atan2f(-x, y) * RADIANS_TO_DEGREES); in add_samples()