mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
u_hand_tracking: Fix usage of M_PI
This commit is contained in:
parent
a345b07308
commit
8f10d9c2b8
|
@ -9,12 +9,11 @@
|
|||
|
||||
#include "u_hand_tracking.h"
|
||||
|
||||
#include <math.h>
|
||||
#include "math/m_mathinclude.h"
|
||||
#include "math/m_api.h"
|
||||
#include "math/m_space.h"
|
||||
|
||||
#define PI 3.14159265358979323846
|
||||
#define DEG_TO_RAD(DEG) (DEG * PI / 180.)
|
||||
#define DEG_TO_RAD(DEG) (DEG * M_PI / 180.)
|
||||
|
||||
struct u_joint_curl_model
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue